[Top][All Lists]

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

[taler-bank] branch master updated: fix 'django' sub-command

From: gnunet
Subject: [taler-bank] branch master updated: fix 'django' sub-command
Date: Mon, 09 Nov 2020 20:47:29 +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 0bb4b53  fix 'django' sub-command
0bb4b53 is described below

commit 0bb4b53ddfa641fbbece483d35e09282c6e64b3c
Author: MS <>
AuthorDate: Mon Nov 9 20:47:08 2020 +0100

    fix 'django' sub-command
 talerbank/ | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/talerbank/ b/talerbank/
index 549c1ac..d08ff4b 100644
--- a/talerbank/
+++ b/talerbank/
@@ -73,17 +73,18 @@ def serve(obj):
+    name="django",
     help="Invoke 'django' sub-commands",
-    name="django",
 @click.argument("args", nargs=-1, type=click.UNPROCESSED)
 def handle_django(args):
     # always run 'migrate' first, in case a virgin db is being used.
+    django_index = sys.argv.index("django")
     from import execute_from_command_line
-    execute_from_command_line([sys.argv[0] + " django"] + sys.argv[2:])
+    execute_from_command_line([sys.argv[0] + " django"] + 
 def handle_serve_http(port):

To stop receiving notification emails like this one, please contact

reply via email to

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