Mercurial > libervia-backend
diff sat/memory/disco.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 | c3f59c1dcb0a |
children | cb34af35af6f |
line wrap: on
line diff
--- a/sat/memory/disco.py Fri Jan 11 10:18:02 2019 +0100 +++ b/sat/memory/disco.py Fri Jan 11 11:13:15 2019 +0100 @@ -299,7 +299,7 @@ d = self.getItems(client, jid_) d.addCallback(gotItems) - d.addCallback(lambda dummy: found_entities) + d.addCallback(lambda __: found_entities) reactor.callLater( TIMEOUT, d.cancel ) # FIXME: one bad service make a general timeout @@ -338,7 +338,7 @@ d = self.getItems(client, jid_) d.addCallback(gotItems) - d.addCallback(lambda dummy: found_entities) + d.addCallback(lambda __: found_entities) reactor.callLater( TIMEOUT, d.cancel ) # FIXME: one bad service make a general timeout