aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/egg_info.py
diff options
context:
space:
mode:
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