##// END OF EJS Templates
posix: use slicing to grab a single byte out of a bytes in HFS+ normcase code
Augie Fackler -
r34198:310c151a default
parent child Browse files
Show More
@@ -372,7 +372,7 b" if pycompat.sysplatform == 'darwin':"
372 c = encoding.getutf8char(path, pos)
372 c = encoding.getutf8char(path, pos)
373 pos += len(c)
373 pos += len(c)
374 except ValueError:
374 except ValueError:
375 c = '%%%02X' % ord(path[pos])
375 c = '%%%02X' % ord(path[pos:pos + 1])
376 pos += 1
376 pos += 1
377 s += c
377 s += c
378
378
General Comments 0
You need to be logged in to leave comments. Login now