diff options
Diffstat (limited to 'django/core/management/__init__.py')
| -rw-r--r-- | django/core/management/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/management/__init__.py b/django/core/management/__init__.py index 8f32898834..840a3b74df 100644 --- a/django/core/management/__init__.py +++ b/django/core/management/__init__.py @@ -51,7 +51,7 @@ def find_management_module(app_name): # of the app_name but the project directory itself isn't on the path. try: f, path, descr = imp.find_module(part,path) - except ImportError,e: + except ImportError as e: if os.path.basename(os.getcwd()) != part: raise e |
