From 3f9773c4eb2a21902ccdefab89c7f503a08f1743 Mon Sep 17 00:00:00 2001 From: adityacp Date: Wed, 4 Jan 2017 17:39:52 +0530 Subject: Change demo settings for yaksh commands --- yaksh/scripts/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yaksh/scripts/cli.py') 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: -- cgit