diff options
author | Dan Williams <dcbw@redhat.com> | 2007-03-07 21:23:52 (GMT) |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2007-03-07 21:23:52 (GMT) |
commit | a2bd1194f35912e70d909a65685c1bf723ec1121 (patch) | |
tree | fc7b00997f5a045c2c32b895692f31efff8dffdb /shell/hardware | |
parent | 11320e8883f9043edabe78ffad258397468e3a38 (diff) |
Work around bus-python bug with named exceptions
Diffstat (limited to 'shell/hardware')
-rw-r--r-- | shell/hardware/nminfo.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/hardware/nminfo.py b/shell/hardware/nminfo.py index f512a8b..2b59f91 100644 --- a/shell/hardware/nminfo.py +++ b/shell/hardware/nminfo.py @@ -434,9 +434,8 @@ class NMInfo(object): is closed. """ if canceled: - e = CanceledKeyRequestError("Request was canceled.") # key dialog dialog was canceled; send the error back to NM - async_err_cb(e) + async_err_cb(CanceledKeyRequestError()) return if not key or not auth_alg: |