[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/master] Account for missing keyword arguments.
commit 1b20e56ba1fbb8c90a500edf044cc2881fa856dc
Author: Philipp Winter <phw@xxxxxxxxx>
Date: Wed Jan 29 17:18:30 2020 -0800
Account for missing keyword arguments.
This seems to be new in Python 3.5.
---
bridgedb/test/test_smtp.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bridgedb/test/test_smtp.py b/bridgedb/test/test_smtp.py
index 2a532b2..3fd06f3 100644
--- a/bridgedb/test/test_smtp.py
+++ b/bridgedb/test/test_smtp.py
@@ -44,7 +44,7 @@ LOCAL_SMTP_SERVER_PORT = 2525 # Must be the same as bridgedb's EMAIL_SMTP_PORT
class EmailServer(SMTPServer):
- def process_message(self, peer, mailfrom, rcpttos, data):
+ def process_message(self, peer, mailfrom, rcpttos, data, **kwargs):
''' Overridden from SMTP server, called whenever a message is received'''
self.message_queue.put(data)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits