##// END OF EJS Templates
pycompat: remove check for Python >= 3.6...
Gregory Szorc -
r49814:9ac1a450 default
parent child Browse files
Show More
@@ -86,7 +86,7 b' def rapply(f, xs):'
86 return _rapply(f, xs)
86 return _rapply(f, xs)
87
87
88
88
89 if os.name == r'nt' and sys.version_info >= (3, 6):
89 if os.name == r'nt':
90 # MBCS (or ANSI) filesystem encoding must be used as before.
90 # MBCS (or ANSI) filesystem encoding must be used as before.
91 # Otherwise non-ASCII filenames in existing repositories would be
91 # Otherwise non-ASCII filenames in existing repositories would be
92 # corrupted.
92 # corrupted.
@@ -415,7 +415,6 b' if sys.version_info[0:2] < (3, 6):'
415
415
416 return json.loads(s, *args, **kwargs)
416 return json.loads(s, *args, **kwargs)
417
417
418
419 else:
418 else:
420 json_loads = json.loads
419 json_loads = json.loads
421
420
General Comments 0
You need to be logged in to leave comments. Login now