[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Fix some syntax errors



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria:/tmp/cvs-serv3761/lib/mixminion

Modified Files:
	ClientAPI.py 
Log Message:
Fix some syntax errors

Index: ClientAPI.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/ClientAPI.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ClientAPI.py	3 May 2005 03:31:40 -0000	1.5
+++ ClientAPI.py	24 May 2005 17:27:44 -0000	1.6
@@ -233,7 +233,7 @@
         return self._config
 
     def _getClientDirectory(self):
-        if self,_clientDirectory is None:
+        if self._clientDirectory is None:
             CD = mixminion.ClientDirectory.ClientDirectory
             config = self._getConfig()
             diskLock = self._getDiskLock()
@@ -340,7 +340,7 @@
         if pathSpec._forReply and not messageDest.isSURB():
             raise MixError(
                 "Can't use a non-SURB destination for a reply message")
-        else if messageDest.isSURB() and not pathSpec._forReply():
+        elif messageDest.isSURB() and not pathSpec._forReply():
             raise MixError(
                 "Can't use a SURB as a destination for a non-reply message")
 
@@ -654,7 +654,7 @@
     """A PacketDest is an address where a Mix receives packets; we use it
        to describe a packet's first hop.
     """
-    def __init__(self, routing)
+    def __init__(self, routing):
         self._routing = routing #IVP4/MMTPHostInfo
 
 class MsgDest(_Encodeable):