diff --git a/lib/opcodes.py b/lib/opcodes.py index e12a994acc3f017d3e7af575286568abaa58aeea..d73388e40a43a3ae7dcf7984506d545dc87e3cfa 100644 --- a/lib/opcodes.py +++ b/lib/opcodes.py @@ -469,8 +469,8 @@ class BaseOpCode(objectutils.ValidatedSlots): if set_defaults or hasattr(self, attr_name): attr_val = getattr(self, attr_name) if not test(attr_val): - logging.error("OpCode %s, parameter %s, has invalid type %s/value %s" - " expecting type %s", + logging.error("OpCode %s, parameter %s, has invalid type %s/value" + " '%s' expecting type %s", self.OP_ID, attr_name, type(attr_val), attr_val, test) raise errors.OpPrereqError("Parameter '%s.%s' fails validation" % (self.OP_ID, attr_name),