Work around bus-python bug with named exceptions
This commit is contained in:
parent
11320e8883
commit
a2bd1194f3
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user