Mercurial > libervia-backend
diff sat_frontends/primitivus/chat.py @ 2765:378188abe941
misc: replaced all "dummy" by the more conventional and readable "__" ("_" being used for gettext)
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 11 Jan 2019 11:13:15 +0100 |
parents | df2bc2e704bc |
children | 003b8b4b56a7 |
line wrap: on
line diff
--- a/sat_frontends/primitivus/chat.py Fri Jan 11 10:18:02 2019 +0100 +++ b/sat_frontends/primitivus/chat.py Fri Jan 11 11:13:15 2019 +0100 @@ -703,7 +703,7 @@ default_txt=new_subject if new_subject is not None else self.subject, ) dialog.setCallback("ok", self._onSubjectDialogCb, dialog) - dialog.setCallback("cancel", lambda dummy: self.host.removePopUp(dialog)) + dialog.setCallback("cancel", lambda __: self.host.removePopUp(dialog)) self.host.showPopUp(dialog)