From ba2c84b0488c133eb0a4263da821cd40220e9fcd 2013-08-23 07:01:19 From: MinRK Date: 2013-08-23 07:01:19 Subject: [PATCH] move `--profile-dir` alias to base IPython app allows specifying exact path to profile directory, rather than just the name. --- diff --git a/IPython/core/application.py b/IPython/core/application.py index f2c0c22..cc1ff9d 100644 --- a/IPython/core/application.py +++ b/IPython/core/application.py @@ -53,6 +53,7 @@ from IPython.utils.traitlets import List, Unicode, Type, Bool, Dict, Set, Instan # aliases and flags base_aliases = { + 'profile-dir' : 'ProfileDir.location', 'profile' : 'BaseIPythonApplication.profile', 'ipython-dir' : 'BaseIPythonApplication.ipython_dir', 'log-level' : 'Application.log_level', diff --git a/IPython/parallel/apps/baseapp.py b/IPython/parallel/apps/baseapp.py index 2f2033a..62346cd 100644 --- a/IPython/parallel/apps/baseapp.py +++ b/IPython/parallel/apps/baseapp.py @@ -71,7 +71,6 @@ class ParallelCrashHandler(CrashHandler): base_aliases = {} base_aliases.update(base_ip_aliases) base_aliases.update({ - 'profile-dir' : 'ProfileDir.location', 'work-dir' : 'BaseParallelApplication.work_dir', 'log-to-file' : 'BaseParallelApplication.log_to_file', 'clean-logs' : 'BaseParallelApplication.clean_logs',