From a2bd1194f35912e70d909a65685c1bf723ec1121 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Wed, 7 Mar 2007 16:23:52 -0500 Subject: [PATCH] Work around bus-python bug with named exceptions --- shell/hardware/nminfo.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shell/hardware/nminfo.py b/shell/hardware/nminfo.py index f512a8b8..2b59f91b 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: