From c931587d371239e971ab06eb45fbefec6a3309e2 Mon Sep 17 00:00:00 2001 From: Vit Mojzis Date: Jan 18 2018 17:31:35 +0000 Subject: framework/src/sealert: Finish dbus communication after error Call "finish" method of troubleshootd after ValueError. This exception doesn't occur in case of connection issues, therefore the communication should be properly ended. Resolves: rhbz#1461486 --- diff --git a/framework/src/sealert b/framework/src/sealert index c612214..f067c39 100755 --- a/framework/src/sealert +++ b/framework/src/sealert @@ -676,6 +676,7 @@ if __name__ == '__main__': iface.finish() except ValueError, e: print >> sys.stderr, e + iface.finish() sys.exit(3) except dbus.exceptions.DBusException as e: print("Unable to establish connection to setroubleshoot daemon!\n" +