From e31413d3af7faf45b964b190e467567fca2ec56e Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 4 Sep 2015 15:53:54 -0400 Subject: Fix very stupid configrc bug. --- cbc/environment.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cbc/environment.py b/cbc/environment.py index d1b7d12..d0778f0 100644 --- a/cbc/environment.py +++ b/cbc/environment.py @@ -20,7 +20,7 @@ class Environment(object): self.pwd = os.path.abspath(os.curdir) self.pkgdir = None self.rcpath = os.path.expanduser('~/.cbcrc') - self.configrc = None + self.configrc = CBCConfigParser(interpolation=ExtendedInterpolation()) if 'CBC_HOME' in kwargs: self.cbchome = kwargs['CBC_HOME'] @@ -32,7 +32,6 @@ class Environment(object): if os.path.exists(self.rcpath): if os.path.isfile(self.rcpath): - self.configrc = CBCConfigParser(interpolation=ExtendedInterpolation()) self.configrc.read(self.rcpath) if 'settings' in self.configrc.sections(): -- cgit