aboutsummaryrefslogtreecommitdiff
path: root/cbc
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-09-04 15:53:54 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-09-04 15:53:54 -0400
commite31413d3af7faf45b964b190e467567fca2ec56e (patch)
treed762ffdaa48e5227ab2dd350c538cc2a47d1b136 /cbc
parentd27760bdf2cd63f888c85e5b98a015284217e2ac (diff)
downloadcbc-e31413d3af7faf45b964b190e467567fca2ec56e.tar.gz
Fix very stupid configrc bug.
Diffstat (limited to 'cbc')
-rw-r--r--cbc/environment.py3
1 files changed, 1 insertions, 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():