diff options
author | Peter Jones <pjones@redhat.com> | 2007-10-19 15:19:37 +0000 |
---|---|---|
committer | Peter Jones <pjones@redhat.com> | 2007-10-19 15:19:37 +0000 |
commit | 16385c3293ab56651503ccf3e4757214c81ea5a9 (patch) | |
tree | 1ce1a6a7ea599adce3fe7b67491a32c6396dd95e | |
parent | a000662d2310380842acdfb6dcbad0e2e3c373d5 (diff) | |
download | anaconda-16385c3293ab56651503ccf3e4757214c81ea5a9.tar.gz anaconda-16385c3293ab56651503ccf3e4757214c81ea5a9.tar.xz anaconda-16385c3293ab56651503ccf3e4757214c81ea5a9.zip |
- close /.buildstamp when we're done with it.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | product.py | 1 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2007-10-19 Peter Jones <pjones@redhat.com> + + * product.py: close /.buildstamp when we're done with it. + 2007-10-19 Chris Lumens <clumens@redhat.com> * isys/nl.c (netlink_interfaces_ip2str, netlink_interfaces_mac2str): @@ -8,7 +12,7 @@ the data correctly on the second time through (#336761). * loader2/urlinstall.c (getFileFromUrl): Likewise. -2007-10-17 Peter Jones <pjones@redhat.com> +2007-10-18 Peter Jones <pjones@redhat.com> * isys/isys.c: add matchPathContext and setFileContext calls, remove resetFileContext call. 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:] |