work with python3, where exception syntax changed.
SVN revision: 74155
This commit is contained in:
parent
6865e29b00
commit
f472634045
|
@ -1435,8 +1435,8 @@ if __name__ == "__main__":
|
|||
try:
|
||||
manager = dbus.Interface(bus.get_object("net.connman", "/"),
|
||||
"net.connman.Manager")
|
||||
except dbus.exceptions.DBusException, exc:
|
||||
popup_fatal(win, "Failed to find ConnMan", str(exc))
|
||||
except dbus.exceptions.DBusException:
|
||||
popup_fatal(win, "Failed to find ConnMan")
|
||||
elm.run()
|
||||
elm.shutdown()
|
||||
raise
|
||||
|
|
Loading…
Reference in New Issue