Fix indentation of 'else' block
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 27 Jan 2020 15:56:53 +0000 (16:56 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 27 Jan 2020 17:23:24 +0000 (18:23 +0100)
Right now this affects the debug output only.

deltatar/crypto.py

index d840e32..2567c29 100755 (executable)
@@ -1606,12 +1606,12 @@ def depdtcrypt (mode, secret, ins, outs):
             if outfile is None:
                 if PDTCRYPT_VERBOSE is True:
                     noise ("PDT: no output file to close at this point")
-                else:
-                    if PDTCRYPT_VERBOSE is True:
-                        noise ("PDT: release output file %r" % outfile)
-                    # cleanup happens automatically by the GC; the next
-                    # line will error out on account of an invalid fd
-                    #outfile.close ()
+            else:
+                if PDTCRYPT_VERBOSE is True:
+                    noise ("PDT: release output file %r" % outfile)
+                # cleanup happens automatically by the GC; the next
+                # line will error out on account of an invalid fd
+                #outfile.close ()
 
             assert total_obj > 0
             fname = PDTCRYPT_SPLITNAME % total_obj