##// END OF EJS Templates
py3compat: use absolute_import
Gregory Szorc -
r27486:5bfd01a3 default
parent child Browse files
Show More
@@ -5,9 +5,12 b''
5 # This software may be used and distributed according to the terms of the
5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2 or any later version.
6 # GNU General Public License version 2 or any later version.
7
7
8 import builtins
8 from __future__ import absolute_import
9
9
10 from numbers import Number
10 import builtins
11 import numbers
12
13 Number = numbers.Number
11
14
12 def bytesformatter(format, args):
15 def bytesformatter(format, args):
13 '''Custom implementation of a formatter for bytestrings.
16 '''Custom implementation of a formatter for bytestrings.
@@ -118,7 +118,6 b''
118 mercurial/mail.py requires print_function
118 mercurial/mail.py requires print_function
119 mercurial/manifest.py not using absolute_import
119 mercurial/manifest.py not using absolute_import
120 mercurial/pvec.py not using absolute_import
120 mercurial/pvec.py not using absolute_import
121 mercurial/py3kcompat.py not using absolute_import
122 setup.py not using absolute_import
121 setup.py not using absolute_import
123 tests/filterpyflakes.py requires print_function
122 tests/filterpyflakes.py requires print_function
124 tests/generate-working-copy-states.py requires print_function
123 tests/generate-working-copy-states.py requires print_function
General Comments 0
You need to be logged in to leave comments. Login now