summaryrefslogtreecommitdiff
path: root/setuptools/command/egg_info.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-12-09 03:40:13 -0500
committerJason R. Coombs <jaraco@jaraco.com>2015-12-09 03:40:13 -0500
commit1265c31f954afe7a1e47edc6dddfe7a5d4c9aa2a (patch)
tree43e544eed2e8c54d25f7484361931c8cd9ee4f6c /setuptools/command/egg_info.py
parent50d864aa0693530a70efd6ffc8007d8328bfea6d (diff)
downloadpython-setuptools-git-1265c31f954afe7a1e47edc6dddfe7a5d4c9aa2a.tar.gz
Replace comment with docstring
Diffstat (limited to 'setuptools/command/egg_info.py')
-rwxr-xr-xsetuptools/command/egg_info.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py
index fb94a044..57e89c07 100755
--- a/setuptools/command/egg_info.py
+++ b/setuptools/command/egg_info.py
@@ -468,9 +468,10 @@ def write_entries(cmd, basename, filename):
def get_pkg_info_revision():
- # See if we can get a -r### off of PKG-INFO, in case this is an sdist of
- # a subversion revision
- #
+ """
+ Get a -r### off of PKG-INFO Version in case this is an sdist of
+ a subversion revision.
+ """
if os.path.exists('PKG-INFO'):
with io.open('PKG-INFO') as f:
for line in f: