diff sat/plugins/plugin_merge_req_mercurial.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 163aab916bcf
children 003b8b4b56a7
line wrap: on
line diff
--- a/sat/plugins/plugin_merge_req_mercurial.py	Fri Jan 11 10:18:02 2019 +0100
+++ b/sat/plugins/plugin_merge_req_mercurial.py	Fri Jan 11 11:13:15 2019 +0100
@@ -121,8 +121,8 @@
 
     def check(self, repository):
         d = MercurialProtocol.run(repository, 'identify')
-        d.addCallback(lambda dummy: True)
-        d.addErrback(lambda dummy: False)
+        d.addCallback(lambda __: True)
+        d.addErrback(lambda __: False)
         return d
 
     def export(self, repository):