[py-svn] r23317 - py/dist/py/misc

hpk at codespeak.net hpk at codespeak.net
Tue Feb 14 13:07:09 CET 2006


Author: hpk
Date: Tue Feb 14 13:07:09 2006
New Revision: 23317

Modified:
   py/dist/py/misc/svnlook.py
Log:
make sure we get an int as a revision


Modified: py/dist/py/misc/svnlook.py
==============================================================================
--- py/dist/py/misc/svnlook.py	(original)
+++ py/dist/py/misc/svnlook.py	Tue Feb 14 13:07:09 2006
@@ -4,7 +4,7 @@
 class ChangeItem:
     def __init__(self, repo, revision, line):
         self.repo = repo 
-        self.revision = revision
+        self.revision = int(revision)
         self.action = action = line[:4]
         self.path = line[4:].strip()
         self.added = action[0] == "A"



More information about the pytest-commit mailing list