##// END OF EJS Templates
util: correct check of sys.version_info...
Augie Fackler -
r30053:dbcef891 default
parent child Browse files
Show More
@@ -881,7 +881,7 b' def nogc(func):'
881 881
882 882 This garbage collector issue have been fixed in 2.7.
883 883 """
884 if sys.version >= (2, 7):
884 if sys.version_info >= (2, 7):
885 885 return func
886 886 def wrapper(*args, **kwargs):
887 887 gcenabled = gc.isenabled()
@@ -162,10 +162,10 b''
162 162 mercurial/ui.py: error importing: <TypeError> int() can't convert non-string with explicit base (error at util.py:*)
163 163 mercurial/unionrepo.py: error importing: <TypeError> int() can't convert non-string with explicit base (error at util.py:*)
164 164 mercurial/url.py: error importing: <TypeError> int() can't convert non-string with explicit base (error at util.py:*)
165 mercurial/verify.py: error importing module: <TypeError> unorderable types: str() >= tuple() (line *)
165 mercurial/verify.py: error importing: <TypeError> a bytes-like object is required, not 'str' (error at revset.py:*)
166 166 mercurial/win32.py: error importing module: <ImportError> No module named 'msvcrt' (line *)
167 167 mercurial/windows.py: error importing module: <ImportError> No module named 'msvcrt' (line *)
168 mercurial/wireproto.py: error importing module: <TypeError> unorderable types: str() >= tuple() (line *)
168 mercurial/wireproto.py: error importing: <TypeError> a bytes-like object is required, not 'str' (error at revset.py:*)
169 169
170 170 #endif
171 171
General Comments 0
You need to be logged in to leave comments. Login now