##// END OF EJS Templates
typing: suppress a false error in mercurial/revlogutils/docket.py on py2...
Matt Harbison -
r48216:be903d04 default
parent child Browse files
Show More
@@ -60,7 +60,9 b' if stable_docket_file:'
60 if pycompat.ispy3:
60 if pycompat.ispy3:
61 iter_seed = iter(seed)
61 iter_seed = iter(seed)
62 else:
62 else:
63 # pytype: disable=wrong-arg-types
63 iter_seed = (ord(c) for c in seed)
64 iter_seed = (ord(c) for c in seed)
65 # pytype: enable=wrong-arg-types
64 # some basic circular sum hashing on 64 bits
66 # some basic circular sum hashing on 64 bits
65 int_seed = 0
67 int_seed = 0
66 low_mask = int('1' * 35, 2)
68 low_mask = int('1' * 35, 2)
General Comments 0
You need to be logged in to leave comments. Login now