[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Make the "no pysqlite for you!" message less frightening
Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria:/tmp/cvs-serv17232/lib/mixminion
Modified Files:
test.py
Log Message:
Make the "no pysqlite for you!" message less frightening
Index: test.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/test.py,v
retrieving revision 1.219
retrieving revision 1.220
diff -u -d -r1.219 -r1.220
--- test.py 9 Aug 2005 16:22:26 -0000 1.219
+++ test.py 2 Dec 2005 19:56:35 -0000 1.220
@@ -7925,13 +7925,16 @@
#all the new log functions.
P = mixminion.server.Pinger
if not P.canRunPinger():
- print "[Skipping ping tests; old python or missing pysqlite]",
+ print """
+[Skipping ping tests; your Python is too old to support the pinger code, or
+you haven't installed pysqlite. This is nothing to worry about, unless you
+wanted to play with the new experimental built-in pinger code.]"""
return
- id0 = "Premature optimizati" #bar
- id1 = "on is the root of al" #barbaz
- id2 = "l evil in programmin" #bart
- id3 = "g. -- Prof Don Knuth"
+ id0 = "Premature optimizati"
+ id1 = "on is the root of al"
+ id2 = "l evil in programmin"
+ id3 = "g. -- Prof Don Knuth"
assert len(id0)==len(id1)==len(id2)==len(id3)==20
d = mix_mktemp()