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:24:27 UTC
[incubator-ponymail-foal] branch master updated: Allow specifying
multiple generators in CLI, as we do support this
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 ed8494e Allow specifying multiple generators in CLI, as we do support this
ed8494e is described below
commit ed8494e7979ecfd9d706da90c13bbb78c9ba7180
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Sun Sep 6 12:24:15 2020 +0200
Allow specifying multiple generators in CLI, as we do support this
---
tools/setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/setup.py b/tools/setup.py
index 8d450a5..f26a87e 100755
--- a/tools/setup.py
+++ b/tools/setup.py
@@ -217,7 +217,7 @@ if args.dbshards:
if args.dbreplicas is not None: # Allow for 0 value
replicas = args.dbreplicas
if args.generator:
- if args.generator in supported_generators:
+ if all(x in supported_generators for x in args.generator.split(' ')):
genname = args.generator
else:
sys.stderr.write(