You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2020/09/06 10:26:51 UTC

[incubator-ponymail-foal] branch master updated: Have nonce arg work with multi-generator setup

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


The following commit(s) were added to refs/heads/master by this push:
     new d95330b  Have nonce arg work with multi-generator setup
d95330b is described below

commit d95330bdde8321c4187a35bc5030bec227f13ef7
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Sun Sep 6 12:26:39 2020 +0200

    Have nonce arg work with multi-generator setup
---
 tools/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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