gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-deployment] branch master updated: fix --standalone


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: fix --standalone flag
Date: Wed, 08 Mar 2017 02:41:24 +0100

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

dold pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 680f1d0  fix --standalone flag
680f1d0 is described below

commit 680f1d09019d8117f1b2c56c7323b5f45dd7b442
Author: Florian Dold <address@hidden>
AuthorDate: Wed Mar 8 02:41:21 2017 +0100

    fix --standalone flag
---
 config/generate-config | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/config/generate-config b/config/generate-config
index 0448910..55cceae 100755
--- a/config/generate-config
+++ b/config/generate-config
@@ -205,6 +205,14 @@ def main(currency, envname, outdir, exchange_pub, 
standalone):
             print("envname {} not supported unless in standalone 
mode".format(envname))
             return
 
+    # We have the --standalone option as 0/1 instead of as a flag,
+    # since this way it's easier to read it from an environment variable
+    # in shell scripts.
+    if standalone == "1":
+        standalone = True
+    else:
+        standalone = False
+
     config(currency, envname, exchange_pub, standalone == "1")
 
     merchant_wireformats = [

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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