diff options
author | Éric Araujo <merwok@netwok.org> | 2011-05-01 02:09:37 +0200 |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-05-01 02:09:37 +0200 |
commit | a27c8e37465b4a452e2b64af26062e133e968f42 (patch) | |
tree | 07e6cd40e8a30721bc6f80686b35daf7ff1369a6 /Lib/sysconfig.py | |
parent | d6dcf8263ab7ffcbcd9a53234de60457c2c4c0d6 (diff) | |
parent | b22e17b2d617bef2fc00f5de29f5a4196f97a51c (diff) | |
download | cpython-git-a27c8e37465b4a452e2b64af26062e133e968f42.tar.gz |
Branch merge
Diffstat (limited to 'Lib/sysconfig.py')
-rw-r--r-- | Lib/sysconfig.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py index 77402d8ab7..3146f30510 100644 --- a/Lib/sysconfig.py +++ b/Lib/sysconfig.py @@ -639,7 +639,6 @@ def get_platform(): m = re.search( r'<key>ProductUserVisibleVersion</key>\s*' + r'<string>(.*?)</string>', f.read()) - f.close() if m is not None: macrelease = '.'.join(m.group(1).split('.')[:2]) # else: fall back to the default behaviour |