view hgext3rd/__init__.py @ 45041:1053f878dd46

procutil: move assignments closer to reassignments Doing reassignments is an anti-pattern IMHO, but I see how it makes sense here. When first looking at this code after jumping here with ctags, I missed the fact that stdout was reassigned. To make the code clearer, the assignments should be as close as possible to the reassignments.
author Manuel Jacob <me@manueljacob.de>
date Sat, 04 Jul 2020 11:15:58 +0200
parents 2372284d9457
children 6000f5b25c9b
line wrap: on
line source

# name space package to host third party extensions
from __future__ import absolute_import
import pkgutil

__path__ = pkgutil.extend_path(__path__, __name__)