diff options
| author | Éric Araujo <merwok@netwok.org> | 2011-04-24 00:39:43 (GMT) |
|---|---|---|
| committer | Éric Araujo <merwok@netwok.org> | 2011-04-24 00:39:43 (GMT) |
| commit | cae1be85f5ac78a7ec73d129ca46cdfc5c5a5ad9 (patch) | |
| tree | 786ea49a8c479b6cc89f6801925bcadd3786c9b5 /Lib/sysconfig.py | |
| parent | 5569e9b1507ac0ff18fec433a7733a0185dde7b0 (diff) | |
| parent | 37e6c54ba122703a0162dd44cf3eac78c46c8bdd (diff) | |
| download | cpython-cae1be85f5ac78a7ec73d129ca46cdfc5c5a5ad9.zip cpython-cae1be85f5ac78a7ec73d129ca46cdfc5c5a5ad9.tar.gz cpython-cae1be85f5ac78a7ec73d129ca46cdfc5c5a5ad9.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 685c84e..3b0ca85 100644 --- a/Lib/sysconfig.py +++ b/Lib/sysconfig.py @@ -694,7 +694,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 |
