[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] helpful print statement when tests cant finish due to f...
Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv17117/lib/mixminion
Modified Files:
testSupport.py
Log Message:
helpful print statement when tests cant finish due to failure to unlock a lockfile
Index: testSupport.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/testSupport.py,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- testSupport.py 3 Jan 2004 07:35:23 -0000 1.24
+++ testSupport.py 6 Mar 2004 05:33:01 -0000 1.25
@@ -212,6 +212,8 @@
os.unlink(loc)
#ld = os.listdir(d)
#if ld: print "remaining in %s: %s" % (d, ld)
+ if os.listdir(d):
+ print "os.listdir(%r)==(%r)"%(d,os.listdir(d))
os.rmdir(d)
elif os.path.exists(d):
#print "Unlinking", d