diff options
| author | Mattias Andrée <maandree@operamail.com> | 2013-09-23 11:01:46 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2013-09-23 11:01:46 +0200 |
| commit | b56360cf0cf09702dbb39ffd68aee60f1d3c2944 (patch) | |
| tree | 4346d7414db5e32ff6cee553b4b9ea29931de577 /src/common.py | |
| parent | missed to import os (diff) | |
| download | pytagomacs-b56360cf0cf09702dbb39ffd68aee60f1d3c2944.tar.gz pytagomacs-b56360cf0cf09702dbb39ffd68aee60f1d3c2944.tar.bz2 pytagomacs-b56360cf0cf09702dbb39ffd68aee60f1d3c2944.tar.xz | |
rcfile works
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/common.py')
| -rw-r--r-- | src/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.py b/src/common.py index 951e9ab..51549c8 100644 --- a/src/common.py +++ b/src/common.py @@ -128,6 +128,6 @@ for file in ('$XDG_CONFIG_HOME/%/%rc', '$HOME/.config/%/%rc', '$HOME/.%rc', '/et code = rcfile.read().decode('utf8', 'replace') + '\n' env = os.environ code = compile(code, file, 'exec') - exec(code, globals()) # TODO do the globals need to be set explicitly? + exec(code, globals()) break |
