diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2015-12-09 03:35:46 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-12-09 03:35:46 -0500 |
| commit | 50d864aa0693530a70efd6ffc8007d8328bfea6d (patch) | |
| tree | 1031213133e1dc3a63dcb20e89230972d40d67ca /setuptools | |
| parent | 41112f5afd0d2b0c14899ab1cf2c27183e64d6ac (diff) | |
| download | python-setuptools-git-50d864aa0693530a70efd6ffc8007d8328bfea6d.tar.gz | |
Reindent
Diffstat (limited to 'setuptools')
| -rwxr-xr-x | setuptools/command/egg_info.py | 10 |
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 |
