Mercurial > libervia-backend
comparison src/stdui/ui_profile_manager.py @ 1063:6ec513ad92c2
frontends: async failures are more detailed (full class name + error message)
author | souliane <souliane@mailoo.org> |
---|---|
date | Sat, 07 Jun 2014 15:39:20 +0200 |
parents | aa15453ec54d |
children | b29452cab50b |
comparison
equal
deleted
inserted
replaced
1062:95758ef3faa8 | 1063:6ec513ad92c2 |
---|---|
78 d.addErrback(self.getParamError) | 78 d.addErrback(self.getParamError) |
79 return d | 79 return d |
80 | 80 |
81 def getParamError(self): | 81 def getParamError(self): |
82 _dialog = xml_tools.XMLUI('popup', title=D_('Error')) | 82 _dialog = xml_tools.XMLUI('popup', title=D_('Error')) |
83 _dialog.addText(_("Can't get profile parameter.")) | 83 _dialog.addText(D_("Can't get profile parameter.")) |
84 return {'xmlui': _dialog.toXml()} | 84 return {'xmlui': _dialog.toXml()} |
85 | 85 |
86 @defer.inlineCallbacks | 86 @defer.inlineCallbacks |
87 def _verifyPassword(self, data, profile): | 87 def _verifyPassword(self, data, profile): |
88 """Verify the given password | 88 """Verify the given password |