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

[minion-cvs] fixed some more of the tracebacks due to format strings



Update of /home/minion/cvsroot/src/minion/lib/mixminion/server
In directory moria.mit.edu:/home/arma/work/minion/src/minion/lib/mixminion/server

Modified Files:
	Modules.py 
Log Message:
fixed some more of the tracebacks due to format strings

our Log approach still uses C-style format strings, which I think
will continue bringing us pain.



Index: Modules.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/server/Modules.py,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- Modules.py	21 Jun 2003 07:24:07 -0000	1.44
+++ Modules.py	25 Jun 2003 17:03:15 -0000	1.45
@@ -525,7 +525,7 @@
                 raise ConfigError("Invalid line at %s: %s"%(lineno, line))
             deny = line[0].lower()
             if deny != self.includeStr:
-                raise ConfigError("Line on %s doesn't start with 'Deny'")
+                raise ConfigError("Line on %s doesn't start with 'Deny'"%lineno)
             cmd = line[1].lower()
             arg = line[2].strip()
             if cmd == 'address':