Work around bus-python bug with named exceptions

This commit is contained in:
Dan Williams 2007-03-07 16:23:52 -05:00
parent 11320e8883
commit a2bd1194f3

View File

@ -434,9 +434,8 @@ class NMInfo(object):
is closed. is closed.
""" """
if canceled: if canceled:
e = CanceledKeyRequestError("Request was canceled.")
# key dialog dialog was canceled; send the error back to NM # key dialog dialog was canceled; send the error back to NM
async_err_cb(e) async_err_cb(CanceledKeyRequestError())
return return
if not key or not auth_alg: if not key or not auth_alg: