From 365c0d8629d835f1024a3e34d2e9437f0c4e4847 2009-12-31 09:28:09 From: Fernando Perez Date: 2009-12-31 09:28:09 Subject: [PATCH] Minor cleanup for local lookup --- diff --git a/IPython/core/application.py b/IPython/core/application.py index 2e4f7bb..3853cde 100755 --- a/IPython/core/application.py +++ b/IPython/core/application.py @@ -155,9 +155,10 @@ class Application(object): we set them here. The Global section is for variables like this that don't belong to a particular component. """ - self.default_config = Config() - self.default_config.Global.ipython_dir = get_ipython_dir() - self.default_config.Global.log_level = self.log_level + c = Config() + c.Global.ipython_dir = get_ipython_dir() + c.Global.log_level = self.log_level + self.default_config = c def log_default_config(self): self.log.debug('Default config loaded:')