hgext/__init__.py
author Pulkit Goyal <7895pulkit@gmail.com>
Thu, 22 Jun 2017 01:29:07 +0530
changeset 33015 f66be4caeaab
parent 28450 155e3308289c
child 43076 2372284d9457
permissions -rw-r--r--
py3: use "%d" % val for int rather than pycompat.bytestr Earlier I used pycompat.bytestr() to convert integers to bytes, but we can do b"%d" % val to convert that int to bytes. b'' is already added by the transformer. Thanks to Yuya for suggesting this.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
28450
155e3308289c hgext: officially turn 'hgext' into a namespace package
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 1360
diff changeset
     1
from __future__ import absolute_import
155e3308289c hgext: officially turn 'hgext' into a namespace package
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 1360
diff changeset
     2
import pkgutil
155e3308289c hgext: officially turn 'hgext' into a namespace package
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 1360
diff changeset
     3
__path__ = pkgutil.extend_path(__path__, __name__)