##// END OF EJS Templates
fix typo in stripping kernel args in nb and qt...
MinRK -
Show More
@@ -223,7 +223,7 b' class IPythonNotebookApp(BaseIPythonApplication):'
223 swallow_next = False
223 swallow_next = False
224 continue
224 continue
225 if a.startswith('-'):
225 if a.startswith('-'):
226 split = a.lstrip('-').split('=')[0]
226 split = a.lstrip('-').split('=')
227 alias = split[0]
227 alias = split[0]
228 if alias in notebook_aliases:
228 if alias in notebook_aliases:
229 self.kernel_argv.remove(a)
229 self.kernel_argv.remove(a)
@@ -342,7 +342,7 b' class IPythonQtConsoleApp(BaseIPythonApplication):'
342 swallow_next = False
342 swallow_next = False
343 continue
343 continue
344 if a.startswith('-'):
344 if a.startswith('-'):
345 split = a.lstrip('-').split('=')[0]
345 split = a.lstrip('-').split('=')
346 alias = split[0]
346 alias = split[0]
347 if alias in qt_aliases:
347 if alias in qt_aliases:
348 self.kernel_argv.remove(a)
348 self.kernel_argv.remove(a)
General Comments 0
You need to be logged in to leave comments. Login now