comparison sat/plugins/plugin_misc_upload.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 56f94936df1e
children 003b8b4b56a7
comparison
equal deleted inserted replaced
2764:92af49cde255 2765:378188abe941
85 parameters are the same as for [upload] 85 parameters are the same as for [upload]
86 @return (dict): action dictionary, with progress id in case of success, else xmlui message 86 @return (dict): action dictionary, with progress id in case of success, else xmlui message
87 """ 87 """
88 88
89 def uploadCb(data): 89 def uploadCb(data):
90 progress_id, dummy = data 90 progress_id, __ = data
91 return {"progress": progress_id} 91 return {"progress": progress_id}
92 92
93 def uploadEb(fail): 93 def uploadEb(fail):
94 msg = unicode(fail) 94 msg = unicode(fail)
95 log.warning(msg) 95 log.warning(msg)