[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-bank] branch master updated: launcher script
From: |
gnunet |
Subject: |
[taler-bank] branch master updated: launcher script |
Date: |
Mon, 02 Nov 2020 18:52:45 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new 915bca1 launcher script
915bca1 is described below
commit 915bca1c343dbb8f6a11f9acb437730eaa219eda
Author: MS <ms@taler.net>
AuthorDate: Mon Nov 2 18:51:14 2020 +0100
launcher script
handle the case where no sub-commands were given upon invocation.
---
bin/taler-bank-manage | 3 +++
1 file changed, 3 insertions(+)
diff --git a/bin/taler-bank-manage b/bin/taler-bank-manage
index 81f3651..7c06b0d 100755
--- a/bin/taler-bank-manage
+++ b/bin/taler-bank-manage
@@ -169,6 +169,9 @@ P = SUB.add_parser('config', help="show config")
P.set_defaults(func=handle_config)
ARGS = PARSER.parse_args()
+if not ARGS.func:
+ print("Please give one of the following sub-commands: serve, django,
config")
+ sys.exit(1)
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "talerbank.settings")
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-bank] branch master updated: launcher script,
gnunet <=