gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-bank] branch master updated: fix -c option


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] branch master updated: fix -c option
Date: Thu, 22 Feb 2018 17:14:18 +0100

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

marcello pushed a commit to branch master
in repository bank.

The following commit(s) were added to refs/heads/master by this push:
     new 98812fe  fix -c option
98812fe is described below

commit 98812fecb945befada5d2b3198e4cdb194ac5f57
Author: Marcello Stanisci <address@hidden>
AuthorDate: Thu Feb 22 17:14:07 2018 +0100

    fix -c option
---
 taler-bank-manage.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/taler-bank-manage.in b/taler-bank-manage.in
index 935c8d5..5a2f8e5 100644
--- a/taler-bank-manage.in
+++ b/taler-bank-manage.in
@@ -21,7 +21,6 @@ site.addsitedir("%s/lib/python%d.%d/site-packages" % (
     sys.version_info.minor))
 
 LOGGER = logging.getLogger(__name__)
-TC = TalerConfig.from_file(os.environ.get("TALER_CONFIG_FILE"))
 
 # No perfect match to our logging format, but good enough ...
 UWSGI_LOGFMT = "%(ltime) %(proto) %(method) %(uri) %(proto) => %(status)"
@@ -41,6 +40,7 @@ def handle_serve_http(args):
     call_command('provide_accounts')
     call_command('check')
     port = args.port
+    TC = TalerConfig.from_file(os.environ.get("TALER_CONFIG_FILE", 
args.config))
     if port is None:
         port = TC["bank"]["http_port"].value_int(required=True)
 
@@ -60,6 +60,7 @@ def handle_serve_uwsgi(args):
     call_command('migrate')
     call_command('provide_accounts')
     call_command('check')
+    TC = TalerConfig.from_file(os.environ.get("TALER_CONFIG_FILE", 
args.config))
     serve_uwsgi = TC["bank"]["uwsgi_serve"].value_string(required=True).lower()
     params = ["uwsgi", "uwsgi",
               "--master",

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



reply via email to

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