Felipe Contreras <felipe.contreras@xxxxxxxxx> writes: > From: Dusty Phillips <dusty@xxxxxxxx> > > It is deprecated. > > [fc: do the same in remote-bzr] > > Signed-off-by: Felipe Contreras <felipe.contreras@xxxxxxxxx> > --- No sign-off by the author? It does not matter for something so trivial like this that there is no other way to write, but it is a good habit you should encourage your contributors to acquire, so that you do not have to waste time with "please sign off" when their next contribution that is more substantial comes. > contrib/remote-helpers/git-remote-bzr | 2 +- > contrib/remote-helpers/git-remote-hg | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/contrib/remote-helpers/git-remote-bzr b/contrib/remote-helpers/git-remote-bzr > index aa7bc97..cc6609b 100755 > --- a/contrib/remote-helpers/git-remote-bzr > +++ b/contrib/remote-helpers/git-remote-bzr > @@ -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 > diff --git a/contrib/remote-helpers/git-remote-hg b/contrib/remote-helpers/git-remote-hg > index 5481331..2cd1996 100755 > --- a/contrib/remote-helpers/git-remote-hg > +++ b/contrib/remote-helpers/git-remote-hg > @@ -129,7 +129,7 @@ class Marks: > self.last_mark = mark > > def is_marked(self, rev): > - return self.marks.has_key(str(rev)) > + return str(rev) in self.marks > > def get_tip(self, branch): > return self.tips.get(branch, 0) -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html