From bd4fcf7960d341430c782bbb046f51cb41c3ba76 2016-01-05 16:36:36 From: Min RK Date: 2016-01-05 16:36:36 Subject: [PATCH] ensure deprecated_subcommands is defined on the base Application class cased AttributeError on subclasses other than TerminalIPythonApp --- diff --git a/IPython/core/application.py b/IPython/core/application.py index 07a393a..86cfdcd 100644 --- a/IPython/core/application.py +++ b/IPython/core/application.py @@ -194,7 +194,9 @@ class BaseIPythonApplication(Application): #------------------------------------------------------------------------- # Various stages of Application creation #------------------------------------------------------------------------- - + + deprecated_subcommands = {} + def initialize_subcommand(self, subc, argv=None): if subc in self.deprecated_subcommands: import time