From: Thomas Jarosch Date: Mon, 27 Jan 2020 15:56:53 +0000 (+0100) Subject: Fix indentation of 'else' block X-Git-Tag: v2.2~7^2~14 X-Git-Url: http://developer.intra2net.com/git/?p=python-delta-tar;a=commitdiff_plain;h=375fb496ab1c2daecb3240c310a8af9c0e4ba8c2 Fix indentation of 'else' block Right now this affects the debug output only. --- diff --git a/deltatar/crypto.py b/deltatar/crypto.py index d840e32..2567c29 100755 --- a/deltatar/crypto.py +++ b/deltatar/crypto.py @@ -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