##// END OF EJS Templates
match: delete Python 2 conditional code...
Gregory Szorc -
r49739:7f5e91cd default
parent child Browse files
Show More
@@ -583,10 +583,7 b' def path_or_parents_in_set(path, prefix_'
583 if b'' in prefix_set:
583 if b'' in prefix_set:
584 return True
584 return True
585
585
586 if pycompat.ispy3:
587 sl = ord(b'/')
586 sl = ord(b'/')
588 else:
589 sl = '/'
590
587
591 # We already checked that path isn't in prefix_set exactly, so
588 # We already checked that path isn't in prefix_set exactly, so
592 # `path[len(pf)] should never raise IndexError.
589 # `path[len(pf)] should never raise IndexError.
General Comments 0
You need to be logged in to leave comments. Login now