Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Date: Mon Aug 21 18:53:10 2006
New Revision: 5618
Hint about availability of unittest and logging for Python < 2.3
--- Webware/trunk/AllTests.py (original)
+++ Webware/trunk/AllTests.py Mon Aug 21 18:53:10 2006
@@ -40,8 +40,19 @@
+ import unittest
+except ImportError: # Python < 2.1
+ print "This module needs the Python unittest package (PyUnit)"
+ print "available at http://pyunit.sourceforge.net";
+ import logging
+except ImportError: # Python < 2.3
+ print "This module needs the Python logging system"
+ print "available at http://www.red-dove.com/python_logging.html";
-import unittest, logging
import sys, os, site
from MiscUtils.Configurable import Configurable
Sign up for the SourceForge newsletter: