summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-06-06 11:46:38 +0100
committerErik Johnston <erik@matrix.org>2017-06-06 11:46:38 +0100
commit66b121b2fcc159065eb59dd577f8cadb74da7a9e (patch)
treeb9419481381fc60a4046b759ecbeb6aa0395cef2
parentMerge pull request #2253 from matrix-org/erikj/user_dir (diff)
downloadsynapse-66b121b2fcc159065eb59dd577f8cadb74da7a9e.tar.xz
Fix wrong number of arguments
-rw-r--r--synapse/push/pusher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/pusher.py b/synapse/push/pusher.py
index 9385c80ce3..f2c8eb870f 100644
--- a/synapse/push/pusher.py
+++ b/synapse/push/pusher.py
@@ -57,7 +57,7 @@ class PusherFactory(object):
             logger.info("found pusher")
             return self.pusher_types[pusherdict['kind']](self.hs, pusherdict)
 
-    def _create_email_pusher(self, pusherdict):
+    def _create_email_pusher(self, _hs, pusherdict):
         app_name = self._brand_from_pusherdict
         mailer = self.mailers.get(app_name)
         if not mailer: