log.error() expects a string. Signed-off-by: Andy Grover <agrover@xxxxxxxxxx> --- targetcli/ui_node.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/targetcli/ui_node.py b/targetcli/ui_node.py index 4f73f1b..54e11fc 100644 --- a/targetcli/ui_node.py +++ b/targetcli/ui_node.py @@ -80,7 +80,7 @@ class UINode(ConfigNode): result = ConfigNode.execute_command(self, command, pparams, kparams) except RTSLibError, msg: - self.shell.log.error(msg) + self.shell.log.error(msg.message) else: self.shell.log.debug("Command %s succeeded." % command) return result -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html