This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit 99a4ff5ca874446c12c60bbbbeb6039e2fb217eb
Author: Daniel Gruno <[email protected]>
AuthorDate: Sun Sep 6 19:01:22 2020 +0200

    only check this if --generator is set
---
 tools/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/setup.py b/tools/setup.py
index 0a9a362..0a67476 100755
--- a/tools/setup.py
+++ b/tools/setup.py
@@ -226,7 +226,7 @@ if args.generator:
             + "\n"
         )
         sys.exit(-1)
-if any(x == "dkim" for x in args.generator.split(' ')) and args.nonce is not 
None:
+if args.generator and any(x == "dkim" for x in args.generator.split(' ')) and 
args.nonce is not None:
     nonce = args.nonce
 
 if not hostname:

Reply via email to