From 4b3ebdba5db5498046c12b4f47fc09e3635486ed Mon Sep 17 00:00:00 2001 From: Goffi Date: Mon, 25 Aug 2014 21:32:23 +0200 Subject: [PATCH] core (stdui): fixed forgotten parametter in getParamError --- src/stdui/ui_profile_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stdui/ui_profile_manager.py b/src/stdui/ui_profile_manager.py index 694b2fbf..a4f0a728 100644 --- a/src/stdui/ui_profile_manager.py +++ b/src/stdui/ui_profile_manager.py @@ -18,7 +18,7 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -from sat.core.i18n import _, D_ +from sat.core.i18n import D_ from sat.core.constants import Const as C from sat.tools import xml_tools from sat.memory.crypto import PasswordHasher @@ -79,7 +79,7 @@ class ProfileManager(object): d.addErrback(self.getParamError) return d - def getParamError(self): + def getParamError(self, failure): _dialog = xml_tools.XMLUI('popup', title=D_('Error')) _dialog.addText(D_("Can't get profile parameter.")) return {'xmlui': _dialog.toXml()}