summaryrefslogtreecommitdiffstats
path: root/src/Hooks/sitecustomize.py
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@localhost.localdomain>2009-11-27 12:53:59 +0100
committerJiri Moskovcak <jmoskovc@localhost.localdomain>2009-11-27 12:53:59 +0100
commitace66de86bf1ae744cc8e0381611c106edc0ae78 (patch)
tree7e9cf06c77ff7e1473cba4d9a1a630759190685e /src/Hooks/sitecustomize.py
parent692c15b50a65e6171221bc482d3892d016e37261 (diff)
downloadabrt-ace66de86bf1ae744cc8e0381611c106edc0ae78.tar.gz
abrt-ace66de86bf1ae744cc8e0381611c106edc0ae78.tar.xz
abrt-ace66de86bf1ae744cc8e0381611c106edc0ae78.zip
PyHOOK: close pyhook.conf rhzb#541712
Diffstat (limited to 'src/Hooks/sitecustomize.py')
-rw-r--r--src/Hooks/sitecustomize.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Hooks/sitecustomize.py b/src/Hooks/sitecustomize.py
index 5787c03f..71d8c4e1 100644
--- a/src/Hooks/sitecustomize.py
+++ b/src/Hooks/sitecustomize.py
@@ -21,6 +21,7 @@ try:
# this should strip
line = config.readline().lower().replace(' ','').strip('\n').split('=')
conf[line[0]] = line[1]
+ config.close()
except:
# Ignore silently everything, because we don't want to bother user
# if this hook doesn't work.