diff --git a/gluon/packages/dal b/gluon/packages/dal index e973f27b..0c2ba9d7 160000 --- a/gluon/packages/dal +++ b/gluon/packages/dal @@ -1 +1 @@ -Subproject commit e973f27b69a8499e4e30e5663f3fba74bf87364c +Subproject commit 0c2ba9d71f426bc6cc2347bd4ce111b18308fbe6 diff --git a/gluon/widget.py b/gluon/widget.py index 238a5674..0cbe6567 100644 --- a/gluon/widget.py +++ b/gluon/widget.py @@ -618,7 +618,7 @@ def console(): '--GAE', default=None, dest='gae', - help="'-G configure' will create app.yaml and gaehandler.py") + help="'-G {gae app name}' will create app.yaml and gaehandler.py") msg = ('password to be used for administration ' '(use -a "" to reuse the last password))') @@ -937,7 +937,9 @@ def console(): if options.gae: if not os.path.exists('app.yaml'): - name = input("Your GAE app name: ") + name = options.gae + if name == 'configure': + name = input("Your GAE app name: ") content = open(os.path.join('examples', 'app.example.yaml'), 'rb').read() open('app.yaml', 'wb').write(content.replace("yourappname", name)) else: