git.samba.org
/
jelmer
/
subvertpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove unnecessary initialization, add assertions.
[jelmer/subvertpy.git]
/
logwalker.py
diff --git
a/logwalker.py
b/logwalker.py
index efe243f162fed94d095d070b8c2f19ac09fe66f9..862ca332640cccf8fdb18416e1e76514b1b57ce0 100644
(file)
--- a/
logwalker.py
+++ b/
logwalker.py
@@
-219,6
+219,8
@@
class LogWalker(object):
:param path: Path to check for changes
:param revnum: First revision to check
"""
+ assert isinstance(path, str)
+ assert isinstance(revnum, int) and revnum >= 0
if revnum > self.saved_revnum:
self.fetch_revisions(revnum)