This is an automated email from the ASF dual-hosted git repository.
sebb 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 c7bd066 Bug: setup.py does not honour --dbreplicas=0
c7bd066 is described below
commit c7bd066d59c5854b043d152e8aa3bfc5e2a330de
Author: Sebb <[email protected]>
AuthorDate: Fri Sep 4 11:53:36 2020 +0100
Bug: setup.py does not honour --dbreplicas=0
---
tools/setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/setup.py b/tools/setup.py
index 2a03518..afe1649 100755
--- a/tools/setup.py
+++ b/tools/setup.py
@@ -214,7 +214,7 @@ if args.nwc:
wc = False
if args.dbshards:
shards = args.dbshards
-if args.dbreplicas:
+if not args.dbreplicas is None: # Allow for 0 value
replicas = args.dbreplicas
if args.generator:
if args.generator in supported_generators: