Tweaked patch.py for Py3 compatibility.

- Legacy-Id: 17916
This commit is contained in:
Henrik Levkowetz 2020-06-06 20:17:31 +00:00
parent 0ca29a80c2
commit cd186fa04b

View file

@ -699,8 +699,8 @@ class PatchSet(object):
for i,p in enumerate(self.items):
if debugmode:
debug(" patch type = " + p.type)
debug(" source = " + p.source)
debug(" target = " + p.target)
debug(" source = " + str(p.source))
debug(" target = " + str(p.target))
if p.type in (HG, GIT):
# TODO: figure out how to deal with /dev/null entries
debug("stripping a/ and b/ prefixes")