diff --git a/debian/changelog b/debian/changelog index ad741c1..4de2611 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +emailharvester (1.3.2+git20191005-0kali2) kali-dev; urgency=medium + + * Add a patch to fix a small Python 3 syntax error + + -- Sophie Brun Wed, 08 Apr 2020 11:53:26 +0200 + emailharvester (1.3.2+git20191005-0kali1) kali-dev; urgency=medium * Initial release diff --git a/debian/patches/Fix-smal-Python-3-syntax-error.patch b/debian/patches/Fix-smal-Python-3-syntax-error.patch new file mode 100644 index 0000000..8545a47 --- /dev/null +++ b/debian/patches/Fix-smal-Python-3-syntax-error.patch @@ -0,0 +1,21 @@ +From: Sophie Brun +Date: Wed, 8 Apr 2020 11:53:05 +0200 +Subject: Fix smal Python 3 syntax error + +--- + EmailHarvester.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/EmailHarvester.py b/EmailHarvester.py +index fe96f7e..9bc86c7 100644 +--- a/EmailHarvester.py ++++ b/EmailHarvester.py +@@ -233,7 +233,7 @@ if __name__ == '__main__': + parser.add_argument('-p', '--list-plugins', action='store_true', dest='listplugins', + default=False, help='List all available plugins.') + +- if len(sys.argv) is 1: ++ if len(sys.argv) == 1: + parser.print_help() + sys.exit() + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..cc63917 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +Fix-smal-Python-3-syntax-error.patch