##// END OF EJS Templates
Remove dead code accidentally left over in prior refactor.
Fernando Perez -
Show More
@@ -46,33 +46,6 b' from IPython.config.loader import ('
46 # Classes and functions
46 # Classes and functions
47 #-----------------------------------------------------------------------------
47 #-----------------------------------------------------------------------------
48
48
49
50 class BaseAppArgParseConfigLoader(ArgParseConfigLoader):
51 """Default command line options for IPython based applications."""
52
53 def _add_other_arguments(self):
54 self.parser.add_argument('--ipython-dir',
55 dest='Global.ipython_dir',type=unicode,
56 help='Set to override default location of Global.ipython_dir.',
57 default=NoConfigDefault,
58 metavar='Global.ipython_dir')
59 self.parser.add_argument('-p', '--profile',
60 dest='Global.profile',type=unicode,
61 help='The string name of the ipython profile to be used.',
62 default=NoConfigDefault,
63 metavar='Global.profile')
64 self.parser.add_argument('--log-level',
65 dest="Global.log_level",type=int,
66 help='Set the log level (0,10,20,30,40,50). Default is 30.',
67 default=NoConfigDefault,
68 metavar='Global.log_level')
69 self.parser.add_argument('--config-file',
70 dest='Global.config_file',type=unicode,
71 help='Set the config file name to override default.',
72 default=NoConfigDefault,
73 metavar='Global.config_file')
74
75
76 class ApplicationError(Exception):
49 class ApplicationError(Exception):
77 pass
50 pass
78
51
@@ -30,7 +30,7 b' import sys'
30
30
31 from IPython.core import crashhandler
31 from IPython.core import crashhandler
32 from IPython.core import release
32 from IPython.core import release
33 from IPython.core.application import Application, BaseAppArgParseConfigLoader
33 from IPython.core.application import Application
34 from IPython.core.error import UsageError
34 from IPython.core.error import UsageError
35 from IPython.core.iplib import InteractiveShell
35 from IPython.core.iplib import InteractiveShell
36 from IPython.core.pylabtools import pylab_activate
36 from IPython.core.pylabtools import pylab_activate
General Comments 0
You need to be logged in to leave comments. Login now