remote-hg: add custom local tag write code
[gitweb.git] / contrib / remote-helpers / git-remote-bzr
index aa7bc97beecc6af7adca5b6886d8e7c61f9173b1..cc6609b2f8b74f26a3edae2603ebf8196310c06f 100755 (executable)
@@ -94,7 +94,7 @@ class Marks:
         return self.last_mark
 
     def is_marked(self, rev):
-        return self.marks.has_key(rev)
+        return str(rev) in self.marks
 
     def new_mark(self, rev, mark):
         self.marks[rev] = mark