##// END OF EJS Templates
setup: use printf instead of print...
marmoute -
r44969:5cbe2c0e default
parent child Browse files
Show More
@@ -3,8 +3,6 b''
3 #
3 #
4 # 'python setup.py install', or
4 # 'python setup.py install', or
5 # 'python setup.py --help' for more options
5 # 'python setup.py --help' for more options
6 from __future__ import print_function
7
8 import os
6 import os
9
7
10 # Mercurial will never work on Python 3 before 3.5 due to a lack
8 # Mercurial will never work on Python 3 before 3.5 due to a lack
@@ -143,7 +141,7 b" hgrustext = os.environ.get('HGWITHRUSTEX"
143 # (see mercurial/__modulepolicy__.py)
141 # (see mercurial/__modulepolicy__.py)
144 if hgrustext != 'cpython' and hgrustext is not None:
142 if hgrustext != 'cpython' and hgrustext is not None:
145 if hgrustext:
143 if hgrustext:
146 print('unkown HGWITHRUSTEXT value: %s' % hgrustext, file=sys.stderr)
144 printf('unkown HGWITHRUSTEXT value: %s' % hgrustext, file=sys.stderr)
147 hgrustext = None
145 hgrustext = None
148
146
149 import ctypes
147 import ctypes
General Comments 0
You need to be logged in to leave comments. Login now