summaryrefslogtreecommitdiff
path: root/tools/mergetools.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mergetools.py')
-rw-r--r--tools/mergetools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mergetools.py b/tools/mergetools.py
index beb41bf..1ff3fa5 100644
--- a/tools/mergetools.py
+++ b/tools/mergetools.py
@@ -38,7 +38,7 @@ def get_nfetched(currentsizefile, logorderfile):
try:
limit = json.loads(open(currentsizefile).read())
except (IOError, ValueError):
- return 0
+ return -1
if limit['index'] >= 0:
with open(logorderfile, 'r') as f:
f.seek(limit['index']*65)