summaryrefslogtreecommitdiff
path: root/yaksh/scripts/cli.py
diff options
context:
space:
mode:
authoradityacp2017-01-04 17:39:52 +0530
committeradityacp2017-01-04 17:39:52 +0530
commit3f9773c4eb2a21902ccdefab89c7f503a08f1743 (patch)
treeb317bf610fcd9cac3a6c685e49a3483b3fe57b17 /yaksh/scripts/cli.py
parent58481cdcba38e8e602b8e2d3e5172f9e653f93a9 (diff)
downloadonline_test-3f9773c4eb2a21902ccdefab89c7f503a08f1743.tar.gz
online_test-3f9773c4eb2a21902ccdefab89c7f503a08f1743.tar.bz2
online_test-3f9773c4eb2a21902ccdefab89c7f503a08f1743.zip
Change demo settings for yaksh commands
Diffstat (limited to 'yaksh/scripts/cli.py')
-rw-r--r--yaksh/scripts/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/scripts/cli.py b/yaksh/scripts/cli.py
index fa18ff7..283cb12 100644
--- a/yaksh/scripts/cli.py
+++ b/yaksh/scripts/cli.py
@@ -76,7 +76,7 @@ def create_demo(project_name='yaksh_demo', project_dir=CUR_DIR):
management.call_command('startproject', project_name, project_dir)
print("Demo Django project '{0}' created at '{1}'".format(project_name,
project_dir))
- except Exception, e:
+ except Exception as e:
print("Error: {0}\nExiting yaksh Installer".format(e))
if project_dir is None: