From c1f8d348920d3df1e7616f117cbfee70712a8c8d Mon Sep 17 00:00:00 2001 From: Alfonso de la Guarda Reyes Date: Sat, 5 Oct 2013 08:08:37 -0500 Subject: [PATCH] Minor fixes for pep and styles widget.py --- gluon/widget.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gluon/widget.py b/gluon/widget.py index 284c255e..3591071c 100644 --- a/gluon/widget.py +++ b/gluon/widget.py @@ -1005,7 +1005,7 @@ def console(): if not os.path.exists('applications/__init__.py'): write_file('applications/__init__.py', '') - return (options, args) + return options, args def check_existent_app(options, appname): @@ -1022,7 +1022,7 @@ def get_code_for_scheduler(app, options): code = code % ("','".join(app[1:])) app_ = app[0] if not check_existent_app(options, app_): - print "Application '%s' doesn't exist, skipping" % (app_) + print "Application '%s' doesn't exist, skipping" % app_ return None, None return app_, code