]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/cmd/midx.py
pylint: enable inconsistent-return-statements
[bup.git] / lib / bup / cmd / midx.py
index 983ba334db31a014cd13f67d39bc4819dddf3ac0..604f7e3b9e31e07aa07aaa90cb7ed9e4d0d2a467 100755 (executable)
@@ -116,7 +116,7 @@ def _do_midx(outdir, outfilename, infilenames, prefixstr,
            or ((auto or force) and len(infilenames) < 2) \
            or (force and not total):
             debug1('midx: nothing to do.\n')
-            return
+            return None
 
         pages = int(total/SHA_PER_PAGE) or 1
         bits = int(math.ceil(math.log(pages, 2)))