hgext/__init__.py
author Manuel Jacob <me@manueljacob.de>
Sat, 04 Jul 2020 11:15:58 +0200
changeset 45044 1053f878dd46
parent 43076 2372284d9457
child 48966 6000f5b25c9b
permissions -rw-r--r--
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.

from __future__ import absolute_import
import pkgutil

__path__ = pkgutil.extend_path(__path__, __name__)