]> arthur.barton.de Git - bup.git/blobdiff - cmd/fsck-cmd.py
Add offset argument to fadvise_done
[bup.git] / cmd / fsck-cmd.py
index fb7099ecd27a677cde5334aef1881ce5b175af9f..794c755b4c424d468cae7210a8447b16c0b51c0e 100755 (executable)
@@ -119,10 +119,7 @@ def do_pack(base, last, par2_exists):
                 action_result = 'ok'
     else:
         assert(opt.generate and (not par2_ok or par2_exists))
-        if par2_ok:
-            action_result = 'exists'
-        else:
-            action_result = 'skipped'
+        action_result = 'exists' if par2_exists else 'skipped'
     if opt.verbose:
         print last, action_result
     return code