##// END OF EJS Templates
py3: make sure __repr__ returns str...
Pulkit Goyal -
r41773:3751595e default
parent child Browse files
Show More
@@ -363,7 +363,7 b' class patchmeta(object):'
363 return self._ispatchinga(afile) and self._ispatchingb(bfile)
363 return self._ispatchinga(afile) and self._ispatchingb(bfile)
364
364
365 def __repr__(self):
365 def __repr__(self):
366 return "<patchmeta %s %r>" % (self.op, self.path)
366 return r"<patchmeta %s %r>" % (self.op, self.path)
367
367
368 def readgitpatch(lr):
368 def readgitpatch(lr):
369 """extract git-style metadata about patches from <patchname>"""
369 """extract git-style metadata about patches from <patchname>"""
General Comments 0
You need to be logged in to leave comments. Login now