comparison src/core/sat_main.py @ 391:c34fd9d6242e

spelling
author Goffi <goffi@goffi.org>
date Thu, 29 Sep 2011 14:59:14 +0200
parents a617af506154
children ccfd69d090c3
comparison
equal deleted inserted replaced
390:8e87af2e2d1f 391:c34fd9d6242e
538 538
539 539
540 def askConfirmation(self, id, type, data, cb): 540 def askConfirmation(self, id, type, data, cb):
541 """Add a confirmation callback 541 """Add a confirmation callback
542 @param id: id used to get answer 542 @param id: id used to get answer
543 @param type: confirmation type ("YES/NO", "FILE_TRANSFERT") 543 @param type: confirmation type ("YES/NO", "FILE_TRANSFER")
544 @param data: data (depend of confirmation type) 544 @param data: data (depend of confirmation type)
545 @param cb: callback called with the answer 545 @param cb: callback called with the answer
546 """ 546 """
547 if self.__waiting_conf.has_key(id): 547 if self.__waiting_conf.has_key(id):
548 error (_("Attempt to register two callbacks for the same confirmation")) 548 error (_("Attempt to register two callbacks for the same confirmation"))