##// END OF EJS Templates
normcase: for darwin, use fast ASCII lower...
Siddharth Agarwal -
r22781:70624fda default
parent child Browse files
Show More
@@ -217,8 +217,7 b" if sys.platform == 'darwin':"
217 '''
217 '''
218
218
219 try:
219 try:
220 path.decode('ascii') # throw exception for non-ASCII character
220 return encoding.asciilower(path) # exception for non-ASCII
221 return path.lower()
222 except UnicodeDecodeError:
221 except UnicodeDecodeError:
223 pass
222 pass
224 try:
223 try:
General Comments 0
You need to be logged in to leave comments. Login now