diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-09-04 15:53:54 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-09-04 15:53:54 -0400 |
commit | e31413d3af7faf45b964b190e467567fca2ec56e (patch) | |
tree | d762ffdaa48e5227ab2dd350c538cc2a47d1b136 | |
parent | d27760bdf2cd63f888c85e5b98a015284217e2ac (diff) | |
download | cbc-e31413d3af7faf45b964b190e467567fca2ec56e.tar.gz |
Fix very stupid configrc bug.
-rw-r--r-- | cbc/environment.py | 3 |
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(): |