[tor-commits] [bridgedb/master] Fix old-style class EmailServer.MailContext.

isis at torproject.org isis at torproject.org
Sat Apr 19 17:02:42 UTC 2014


commit b0157d695ef55692de163f92eccf6d65d50bec8b
Author: Isis Lovecruft <isis at torproject.org>
Date:   Mon Apr 7 02:50:53 2014 +0000

    Fix old-style class EmailServer.MailContext.
---
 lib/bridgedb/EmailServer.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bridgedb/EmailServer.py b/lib/bridgedb/EmailServer.py
index 37a4a82..56e6aea 100644
--- a/lib/bridgedb/EmailServer.py
+++ b/lib/bridgedb/EmailServer.py
@@ -312,7 +312,7 @@ def getLocaleFromRequest(request):
         lang = lang[0]
     return I18n.getLang(lang) 
 
-class MailContext:
+class MailContext(object):
     """Helper object that holds information used by email subsystem."""
 
     def __init__(self, cfg, dist, sched):





More information about the tor-commits mailing list