We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a5e765 commit e6b2222Copy full SHA for e6b2222
1 file changed
src/patchwork/helpers.py
@@ -46,7 +46,7 @@ def next_path(path_pattern):
46
# We call this interval (a..b] and narrow it down until a + 1 = b
47
a, b = (i // 2, i)
48
while a + 1 < b:
49
- c = (a + b) // 2 # interval midpoint
+ c = (a + b) // 2 # interval midpoint
50
a, b = (c, b) if os.path.exists(path_pattern % c) else (a, c)
51
52
return path_pattern % b
0 commit comments