diff options
| author | Éric Araujo <merwok@netwok.org> | 2011-05-02 11:36:18 (GMT) |
|---|---|---|
| committer | Éric Araujo <merwok@netwok.org> | 2011-05-02 11:36:18 (GMT) |
| commit | cfa8483051554b0e300b4b0c4a84c65bd2819cd3 (patch) | |
| tree | bee40781a6ac3047269fe8ac195008de4ec181fb /Lib/sysconfig.py | |
| parent | 941592aa19c3419a04a253c8897b672fe88cbae3 (diff) | |
| parent | 2a53d33dc61e782c091ea8319ca0098ed2ff36a8 (diff) | |
| download | cpython-cfa8483051554b0e300b4b0c4a84c65bd2819cd3.zip cpython-cfa8483051554b0e300b4b0c4a84c65bd2819cd3.tar.gz cpython-cfa8483051554b0e300b4b0c4a84c65bd2819cd3.tar.bz2 | |
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 77402d8..3146f30 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 |
