aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/egg_info.py
diff options
context:
space:
mode:
authorHanno Schlichting <hanno@hannosch.eu>2009-07-16 16:57:09 +0200
committerHanno Schlichting <hanno@hannosch.eu>2009-07-16 16:57:09 +0200
commit334f5b69c08cc7b3f60f963a689987412db2e635 (patch)
treedc8a0c6a2f76fa61342d2b33dab6a7277f9a4fec /setuptools/command/egg_info.py
parent571fa94fb7c88ebb4028c5890c170e7ad16e3601 (diff)
downloadexternal_python_setuptools-334f5b69c08cc7b3f60f963a689987412db2e635.tar.gz
external_python_setuptools-334f5b69c08cc7b3f60f963a689987412db2e635.tar.bz2
external_python_setuptools-334f5b69c08cc7b3f60f963a689987412db2e635.zip
Apply patch from pjenvey. Closes #3.
--HG-- branch : distribute extra : rebase_source : 3a61d0692c74559b140c179dcc5f4ac4905bb982
Diffstat (limited to 'setuptools/command/egg_info.py')
-rwxr-xr-xsetuptools/command/egg_info.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py
index b14a78b0..a8315d23 100755
--- a/setuptools/command/egg_info.py
+++ b/setuptools/command/egg_info.py
@@ -444,6 +444,7 @@ def get_pkg_info_revision():
match = re.match(r"Version:.*-r(\d+)\s*$", line)
if match:
return int(match.group(1))
+ f.close()
return 0