[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[minion-cvs] Appease pychecker.



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv9083/lib/mixminion

Modified Files:
	ClientMain.py Packet.py 
Log Message:
Appease pychecker.

Index: ClientMain.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/ClientMain.py,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- ClientMain.py	5 Feb 2003 05:34:55 -0000	1.46
+++ ClientMain.py	5 Feb 2003 06:30:53 -0000	1.47
@@ -1451,13 +1451,17 @@
             s = f.read()
             f.close()
         except OSError, e:
-            LOG.error("Could not read file %s: %s", fn, e)
+            LOG.error("Could not read file %s: %s", inputFile, e)
     # XXXX003 catch exceptions
     res = client.decodeMessage(s, force=force)
     for r in res:
         out.write(r)
     out.close()
 
+_CLIENT_DECODE_USAGE = """\
+Usage: %s [options] <files>
+  This space is temporarily left blank.
+"""
 def generateSURB(cmd, args):
     options, args = getopt.getopt(args, "hf:o:t:H:P:D:vb",
                                   ['help', 'config=', 'output=', 'to=',

Index: Packet.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/Packet.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- Packet.py	5 Feb 2003 06:28:31 -0000	1.26
+++ Packet.py	5 Feb 2003 06:30:53 -0000	1.27
@@ -30,7 +30,6 @@
 import sys
 import zlib
 from socket import inet_ntoa, inet_aton
-import mixminion.BuildMessage
 from mixminion.Common import MixError, MixFatalError, floorDiv, isSMTPMailbox,\
      LOG