diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-12-09 03:53:38 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-12-09 03:53:38 -0500 |
commit | 6840f40ad0cc4df8c98cd8b78f4c86d6200c1b57 (patch) | |
tree | 838b1cc011f5f1be25869337089f8e762194ad4e /setuptools/command/egg_info.py | |
parent | ebaf4f2547e71247248abc77f9899e2106482646 (diff) | |
download | external_python_setuptools-6840f40ad0cc4df8c98cd8b78f4c86d6200c1b57.tar.gz external_python_setuptools-6840f40ad0cc4df8c98cd8b78f4c86d6200c1b57.tar.bz2 external_python_setuptools-6840f40ad0cc4df8c98cd8b78f4c86d6200c1b57.zip |
Remove check that would never succeed, because svn_utils always returns an integer and get_svn_revision always returns a non-empty string.
Diffstat (limited to 'setuptools/command/egg_info.py')
-rwxr-xr-x | setuptools/command/egg_info.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index 3afd0a45..28aa7994 100755 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -186,9 +186,7 @@ class egg_info(Command): if self.tag_build: version += self.tag_build if self.tag_svn_revision: - rev = self.get_svn_revision() - if rev: # is 0 if it's not an svn working copy - version += '-r%s' % rev + version += '-r%s' % self.get_svn_revision() if self.tag_date: import time |