##// END OF EJS Templates
verify: use some intermediate variables instead of a multi-liner...
marmoute -
r48146:fde1df74 default
parent child Browse files
Show More
@@ -156,11 +156,8 b' class verifier(object):'
156 msg = _(b"unknown parent 1 %s of %s") % (short(p1), short(node))
156 msg = _(b"unknown parent 1 %s of %s") % (short(p1), short(node))
157 self._err(lr, msg, f)
157 self._err(lr, msg, f)
158 if p2 not in seen and p2 != self.repo.nullid:
158 if p2 not in seen and p2 != self.repo.nullid:
159 self._err(
159 msg = _(b"unknown parent 2 %s of %s") % (short(p2), short(node))
160 lr,
160 self._err(lr, msg, f)
161 _(b"unknown parent 2 %s of %s") % (short(p2), short(node)),
162 f,
163 )
164 except Exception as inst:
161 except Exception as inst:
165 self._exc(lr, _(b"checking parents of %s") % short(node), inst, f)
162 self._exc(lr, _(b"checking parents of %s") % short(node), inst, f)
166
163
General Comments 0
You need to be logged in to leave comments. Login now