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 7e5e7f9  Preferred syntax
7e5e7f9 is described below

commit 7e5e7f9f8f08ca580d46b229d3d1535b9780b8e4
Author: Sebb <[email protected]>
AuthorDate: Fri Sep 4 12:01:24 2020 +0100

    Preferred syntax
---
 tools/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/setup.py b/tools/setup.py
index afe1649..9407314 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 not args.dbreplicas is None: # Allow for 0 value
+if args.dbreplicas is not None: # Allow for 0 value
     replicas = args.dbreplicas
 if args.generator:
     if args.generator in supported_generators:

Reply via email to