changeset 1131:90f82f4ee405

core (stdui): fixed forgotten parametter in getParamError
author Goffi <goffi@goffi.org>
date Mon, 25 Aug 2014 21:32:23 +0200
parents adea30ca0b51
children 4ab93557976e
files src/stdui/ui_profile_manager.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/stdui/ui_profile_manager.py	Mon Aug 25 17:21:04 2014 +0200
+++ b/src/stdui/ui_profile_manager.py	Mon Aug 25 21:32:23 2014 +0200
@@ -18,7 +18,7 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-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 @@
         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()}