[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-deployment] branch master updated: use is_flag

From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: use is_flag
Date: Wed, 26 Jun 2019 20:14:35 +0200

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new fee9c9c  use is_flag
fee9c9c is described below

commit fee9c9c5ee14babc680214efb65e187a8765b601
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Jun 26 20:14:28 2019 +0200

    use is_flag
 config/generate-config | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/generate-config b/config/generate-config
index 6c1fec0..be781e4 100755
--- a/config/generate-config
+++ b/config/generate-config
@@ -68,7 +68,7 @@ def config(obj):
     obj.cfg_put("taler", "CURRENCY", obj.currency)
     # Twisting the merchant backend responses.
-    if "test" == obj.envname:
+    if "test" == obj.envname and obj.twisted:
         obj.cfg_put("twister", "serve", "unix")
         obj.cfg_put("twister", "chaos_rate", "20")
         obj.cfg_put("twister", "destination_base_url", 
@@ -310,7 +310,7 @@ def config(obj):
 @click.option("--shared-outdir", default=None)
 @click.option("--standalone", default=None, help="Enable a standalone/env 
deployment instead of test/demo")
 @click.option("--exchange-pub", required=True)
-@click.option("--twisted", default=None)
+@click.option("--twisted", is_flag=True)
 def main(currency, envname, outdir, shared_outdir, exchange_pub, standalone, 
     if not standalone:

To stop receiving notification emails like this one, please contact

reply via email to

[Prev in Thread] Current Thread [Next in Thread]