[or-cvs] r21263: {projects} Minor fix (projects/gettor/lib/gettor)

kaner at seul.org kaner at seul.org
Fri Dec 18 22:13:15 UTC 2009


Author: kaner
Date: 2009-12-18 17:13:15 -0500 (Fri, 18 Dec 2009)
New Revision: 21263

Modified:
   projects/gettor/lib/gettor/responses.py
Log:
Minor fix


Modified: projects/gettor/lib/gettor/responses.py
===================================================================
--- projects/gettor/lib/gettor/responses.py	2009-12-18 22:09:44 UTC (rev 21262)
+++ projects/gettor/lib/gettor/responses.py	2009-12-18 22:13:15 UTC (rev 21263)
@@ -124,7 +124,7 @@
         packageList = packages.getPackageList()
         filename = packageList[self.package]
         message = gettor.constants.packagemsg
-        package = self.constructMessage(message, "", filename)
+        package = self.constructMessage(message, fileName=filename)
         try:
             status = self.sendMessage(package)
         except:
@@ -197,7 +197,7 @@
 
     def sendGenericMessage(self, text):
         """ Send a message of some sort """
-        message = self.constructMessage(text, "")
+        message = self.constructMessage(text)
         try:
             status = self.sendMessage(message)
         except:



More information about the tor-commits mailing list