[or-cvs] r17935: {projects} Python 2.4.4 is our target and this should fix the argument (projects/gettor)

ioerror at seul.org ioerror at seul.org
Mon Jan 5 23:33:51 UTC 2009


Author: ioerror
Date: 2009-01-05 18:33:51 -0500 (Mon, 05 Jan 2009)
New Revision: 17935

Modified:
   projects/gettor/gettor.py
   projects/gettor/gettor_responses.py
Log:
Python 2.4.4 is our target and this should fix the argument parsing issue between 2.3 and 2.4. sigh.


Modified: projects/gettor/gettor.py
===================================================================
--- projects/gettor/gettor.py	2009-01-05 23:30:50 UTC (rev 17934)
+++ projects/gettor/gettor.py	2009-01-05 23:33:51 UTC (rev 17935)
@@ -132,7 +132,7 @@
         log.error(_("Won't send myself emails."))
         return False
 
-    resp = gettor_responses.gettorResponse(replyLang, logLang, conf)
+    resp = gettor_responses.gettorResponse(conf, replyLang, logLang)
     signature = rmail.hasVerifiedSignature()
     log.info(_("Signature is: %s") % str(signature))
     # Addresses from whitelist can pass without DKIM signature

Modified: projects/gettor/gettor_responses.py
===================================================================
--- projects/gettor/gettor_responses.py	2009-01-05 23:30:50 UTC (rev 17934)
+++ projects/gettor/gettor_responses.py	2009-01-05 23:33:51 UTC (rev 17935)
@@ -22,7 +22,7 @@
 
 class gettorResponse:
 
-    def __init__(self, mailLang="en", logLang="en", config):
+    def __init__(self, config, mailLang="en", logLang="en"):
         self.mailLang = mailLang
         self.logLang = logLang
         self.config = config



More information about the tor-commits mailing list