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:
|
try:
|
||||||
manager = dbus.Interface(bus.get_object("net.connman", "/"),
|
manager = dbus.Interface(bus.get_object("net.connman", "/"),
|
||||||
"net.connman.Manager")
|
"net.connman.Manager")
|
||||||
except dbus.exceptions.DBusException, exc:
|
except dbus.exceptions.DBusException:
|
||||||
popup_fatal(win, "Failed to find ConnMan", str(exc))
|
popup_fatal(win, "Failed to find ConnMan")
|
||||||
elm.run()
|
elm.run()
|
||||||
elm.shutdown()
|
elm.shutdown()
|
||||||
raise
|
raise
|
||||||
|
|
Loading…
Reference in New Issue