From 177c62068c03a1e47e4bf8fd1004b0ef17560ff7 Mon Sep 17 00:00:00 2001 From: Stephen Boddy Date: Sat, 19 Sep 2015 17:37:19 +0200 Subject: [PATCH] (trunk-1655) Minor correction to actually return error message, rather than just contemplating it --- terminatorlib/ipc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminatorlib/ipc.py b/terminatorlib/ipc.py index 540cd22b..43971de3 100644 --- a/terminatorlib/ipc.py +++ b/terminatorlib/ipc.py @@ -87,7 +87,7 @@ class DBusService(Borg, dbus.service.Object): terminals_after = set(self.get_terminals()) new_terminal_set = list(terminals_after - terminals_before) if len(new_terminal_set) != 1: - "ERROR: Cannot determine the UUID of the added terminal" + return "ERROR: Cannot determine the UUID of the added terminal" else: return new_terminal_set[0]