Fixed the erorr handling code for missing management commands.

This commit is contained in:
Alex Gaynor 2012-08-15 02:18:11 -07:00 committed by Alex Gaynor
parent fc99f127d8
commit 52c351a151
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ def find_management_module(app_name):
except ImportError as e:
if os.path.basename(os.getcwd()) != part:
raise e
finally:
else:
if f:
f.close()