Loading kodo_sso/management.py +2 −3 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ class ManagementUtility(management.ManagementUtility): ); sys.exit(1) excluded_cmds = getattr(settings, 'EXCLUDED_COMMANDS') excluded_cmds = getattr(settings, 'EXCLUDED_COMMANDS', None) if excluded_cmds and subcommand in excluded_cmds: class DummyCommand(Command): def run(self, **opts): Loading @@ -41,8 +41,7 @@ class ManagementUtility(management.ManagementUtility): if subcommand == 'runserver': klass = RunserverCommand() else: klass = super(ManagementUtility, self).fetch_command( self, subcommand) klass = super(ManagementUtility, self).fetch_command(subcommand) return klass Loading Loading
kodo_sso/management.py +2 −3 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ class ManagementUtility(management.ManagementUtility): ); sys.exit(1) excluded_cmds = getattr(settings, 'EXCLUDED_COMMANDS') excluded_cmds = getattr(settings, 'EXCLUDED_COMMANDS', None) if excluded_cmds and subcommand in excluded_cmds: class DummyCommand(Command): def run(self, **opts): Loading @@ -41,8 +41,7 @@ class ManagementUtility(management.ManagementUtility): if subcommand == 'runserver': klass = RunserverCommand() else: klass = super(ManagementUtility, self).fetch_command( self, subcommand) klass = super(ManagementUtility, self).fetch_command(subcommand) return klass Loading