Show More
@@ -56,12 +56,7 b' if stable_docket_file:' | |||
|
56 | 56 | if inst.errno != errno.ENOENT: |
|
57 | 57 | raise |
|
58 | 58 | seed = b'04' # chosen by a fair dice roll. garanteed to be random |
|
59 | if pycompat.ispy3: | |
|
60 | iter_seed = iter(seed) | |
|
61 | else: | |
|
62 | # pytype: disable=wrong-arg-types | |
|
63 | iter_seed = (ord(c) for c in seed) | |
|
64 | # pytype: enable=wrong-arg-types | |
|
59 | iter_seed = iter(seed) | |
|
65 | 60 | # some basic circular sum hashing on 64 bits |
|
66 | 61 | int_seed = 0 |
|
67 | 62 | low_mask = int('1' * 35, 2) |
General Comments 0
You need to be logged in to leave comments.
Login now