diff --git a/IPython/core/application.py b/IPython/core/application.py index ad6472b..017366c 100755 --- a/IPython/core/application.py +++ b/IPython/core/application.py @@ -46,33 +46,6 @@ from IPython.config.loader import ( # Classes and functions #----------------------------------------------------------------------------- - -class BaseAppArgParseConfigLoader(ArgParseConfigLoader): - """Default command line options for IPython based applications.""" - - def _add_other_arguments(self): - self.parser.add_argument('--ipython-dir', - dest='Global.ipython_dir',type=unicode, - help='Set to override default location of Global.ipython_dir.', - default=NoConfigDefault, - metavar='Global.ipython_dir') - self.parser.add_argument('-p', '--profile', - dest='Global.profile',type=unicode, - help='The string name of the ipython profile to be used.', - default=NoConfigDefault, - metavar='Global.profile') - self.parser.add_argument('--log-level', - dest="Global.log_level",type=int, - help='Set the log level (0,10,20,30,40,50). Default is 30.', - default=NoConfigDefault, - metavar='Global.log_level') - self.parser.add_argument('--config-file', - dest='Global.config_file',type=unicode, - help='Set the config file name to override default.', - default=NoConfigDefault, - metavar='Global.config_file') - - class ApplicationError(Exception): pass diff --git a/IPython/core/ipapp.py b/IPython/core/ipapp.py index 8384838..ca8606d 100755 --- a/IPython/core/ipapp.py +++ b/IPython/core/ipapp.py @@ -30,7 +30,7 @@ import sys from IPython.core import crashhandler from IPython.core import release -from IPython.core.application import Application, BaseAppArgParseConfigLoader +from IPython.core.application import Application from IPython.core.error import UsageError from IPython.core.iplib import InteractiveShell from IPython.core.pylabtools import pylab_activate