Commit 52c351a1 authored by Alex Gaynor's avatar Alex Gaynor Committed by Alex Gaynor
Browse files

Fixed the erorr handling code for missing management commands.

parent fc99f127
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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()