summaryrefslogtreecommitdiff
path: root/setuptools
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-12-09 03:35:46 -0500
committerJason R. Coombs <jaraco@jaraco.com>2015-12-09 03:35:46 -0500
commit50d864aa0693530a70efd6ffc8007d8328bfea6d (patch)
tree1031213133e1dc3a63dcb20e89230972d40d67ca /setuptools
parent41112f5afd0d2b0c14899ab1cf2c27183e64d6ac (diff)
downloadpython-setuptools-git-50d864aa0693530a70efd6ffc8007d8328bfea6d.tar.gz
Reindent
Diffstat (limited to 'setuptools')
-rwxr-xr-xsetuptools/command/egg_info.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py
index 9a9193c1..fb94a044 100755
--- a/setuptools/command/egg_info.py
+++ b/setuptools/command/egg_info.py
@@ -472,9 +472,9 @@ def get_pkg_info_revision():
# a subversion revision
#
if os.path.exists('PKG-INFO'):
- with io.open('PKG-INFO') as f:
- for line in f:
- match = re.match(r"Version:.*-r(\d+)\s*$", line)
- if match:
- return int(match.group(1))
+ with io.open('PKG-INFO') as f:
+ for line in f:
+ match = re.match(r"Version:.*-r(\d+)\s*$", line)
+ if match:
+ return int(match.group(1))
return 0