From: Philipp Gesang Date: Thu, 30 Jan 2020 15:00:33 +0000 (+0100) Subject: remove unused argument X-Git-Tag: v2.2~7^2~1 X-Git-Url: http://developer.intra2net.com/git/?p=python-delta-tar;a=commitdiff_plain;h=ed00ce084c879854a353693cad71d552fedd44d2 remove unused argument Different encryption modes vanished with the revised crypto that only implements AES-GCM. --- diff --git a/file_crypt.py b/file_crypt.py index 04d58c5..9a91768 100755 --- a/file_crypt.py +++ b/file_crypt.py @@ -30,7 +30,7 @@ def initialize_encryption (mode, password=None, key=None, nacl=None): return crypto.Decrypt (password=password, key=key) -def main(do_encrypt, in_file, out_file, password, comptype='gz', enctype='aes', +def main(do_encrypt, in_file, out_file, password, comptype='gz', bufsize=tarfile.RECORDSIZE, encoding='UTF-8'): """ Main function, called when running file as script