comparison sat/tools/sat_defer.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
204 if profile == C.PROF_KEY_NONE: 204 if profile == C.PROF_KEY_NONE:
205 raise exceptions.ProfileNotSetError 205 raise exceptions.ProfileNotSetError
206 session_data = self.profileGet(session_id, profile) 206 session_data = self.profileGet(session_id, profile)
207 207
208 @defer.inlineCallbacks 208 @defer.inlineCallbacks
209 def next_cb(dummy): 209 def next_cb(__):
210 # we got one or several results 210 # we got one or several results
211 results = {} 211 results = {}
212 filtered_data = [] # used to keep deferreds without results 212 filtered_data = [] # used to keep deferreds without results
213 deferreds = session_data[KEY_DEFERREDS] 213 deferreds = session_data[KEY_DEFERREDS]
214 214