Commit 6840f40a authored by Jason R. Coombs's avatar Jason R. Coombs

Remove check that would never succeed, because svn_utils always returns an...

Remove check that would never succeed, because svn_utils always returns an integer and get_svn_revision always returns a non-empty string.
parent ebaf4f25
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment