[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Fix a bug in consistency checking; make directory not u...
Update of /home/minion/cvsroot/src/minion/lib/mixminion/directory
In directory moria.mit.edu:/tmp/cvs-serv3013/src/minion/lib/mixminion/directory
Modified Files:
DirMain.py
Log Message:
Fix a bug in consistency checking; make directory not use stderr; cut down on trace
Index: DirMain.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/directory/DirMain.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- DirMain.py 28 May 2003 07:54:08 -0000 1.13
+++ DirMain.py 28 May 2003 17:26:53 -0000 1.14
@@ -115,7 +115,7 @@
badServers = config['Directory'].get('BadServer', [])
location = config['Publishing']['Location']
- print >>sys.stderr, "(Bad servers==%r)"%badServers
+ print "(Bad servers==%r)"%badServers
now = time.time()
tomorrow = now+60*60*24
@@ -125,7 +125,7 @@
extraTime=twoWeeks,
identityKey=key,
badServers=badServers)
- print >>sys.stderr, "Directory generated; publishing."
+ print "Directory generated; publishing."
fname = serverList.getDirectoryFilename()
@@ -138,7 +138,7 @@
else:
shutil.copy(fname, location)
- print >>sys.stderr, "Published."
+ print "Published."
def cmd_fingerprint(args):
if args:
@@ -161,7 +161,7 @@
command = args[0]
args = args[1:]
if not SUBCOMMANDS.has_key(command):
- print >>sys.stderr, "Unknown command", command
+ print "Unknown command", command
usageAndExit()
init_crypto()
LOG.setMinSeverity("INFO")