work with python3, where exception syntax changed.

SVN revision: 74155
This commit is contained in:
Gustavo Sverzut Barbieri 2012-07-19 03:25:25 +00:00
parent 6865e29b00
commit f472634045
1 changed files with 2 additions and 2 deletions

View File

@ -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