Show More
@@ -70,9 +70,10 class verifier(object): | |||||
70 | self.errors += 1 |
|
70 | self.errors += 1 | |
71 |
|
71 | |||
72 | def exc(self, linkrev, msg, inst, filename=None): |
|
72 | def exc(self, linkrev, msg, inst, filename=None): | |
73 |
|
|
73 | fmsg = pycompat.bytestr(inst) | |
74 | inst = repr(inst) |
|
74 | if not fmsg: | |
75 | self.err(linkrev, "%s: %s" % (msg, inst), filename) |
|
75 | fmsg = pycompat.byterepr(inst) | |
|
76 | self.err(linkrev, "%s: %s" % (msg, fmsg), filename) | |||
76 |
|
77 | |||
77 | def checklog(self, obj, name, linkrev): |
|
78 | def checklog(self, obj, name, linkrev): | |
78 | if not len(obj) and (self.havecl or self.havemf): |
|
79 | if not len(obj) and (self.havecl or self.havemf): |
General Comments 0
You need to be logged in to leave comments.
Login now