diff libervia/server/blog.py @ 1238:f55056bb67d4

replaced former use of "dummy" by "__"
author Goffi <goffi@goffi.org>
date Wed, 29 Jan 2020 09:54:17 +0100
parents 987595a254b0
children f511f8fbbf8a
line wrap: on
line diff
--- a/libervia/server/blog.py	Wed Jan 29 09:53:31 2020 +0100
+++ b/libervia/server/blog.py	Wed Jan 29 09:54:17 2020 +0100
@@ -357,7 +357,7 @@
             item = items[0]  # assume there's only one item
 
             def gotMetadata(result):
-                dummy, rsm_metadata = result
+                __, rsm_metadata = result
                 try:
                     metadata["rsm_count"] = rsm_metadata["rsm_count"]
                 except KeyError:
@@ -669,7 +669,7 @@
 
         dlist_d = defer.DeferredList(d_list)
         dlist_d.addCallback(
-            lambda dummy: self._renderHTML(items, metadata, options, request, pub_jid)
+            lambda __: self._renderHTML(items, metadata, options, request, pub_jid)
         )
 
     def _renderHTML(self, items, metadata, options, request, pub_jid):