summaryrefslogtreecommitdiffstats
path: root/product.py
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2007-10-19 15:19:37 +0000
committerPeter Jones <pjones@redhat.com>2007-10-19 15:19:37 +0000
commit16385c3293ab56651503ccf3e4757214c81ea5a9 (patch)
tree1ce1a6a7ea599adce3fe7b67491a32c6396dd95e /product.py
parenta000662d2310380842acdfb6dcbad0e2e3c373d5 (diff)
downloadanaconda-16385c3293ab56651503ccf3e4757214c81ea5a9.tar.gz
anaconda-16385c3293ab56651503ccf3e4757214c81ea5a9.tar.xz
anaconda-16385c3293ab56651503ccf3e4757214c81ea5a9.zip
- close /.buildstamp when we're done with it.
Diffstat (limited to 'product.py')
-rw-r--r--product.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/product.py b/product.py
index 1df01d524..86960d0e7 100644
--- a/product.py
+++ b/product.py
@@ -32,6 +32,7 @@ bugUrl = "your distribution provided bug reporting tool."
if path is not None:
f = open(path, "r")
lines = f.readlines()
+ del f
if len(lines) >= 3:
productStamp = lines[0][:-1]
productArch = productStamp[productStamp.index(".")+1:]