On Fri, Nov 6, 2009 at 8:49 PM, Uwe Stöhr <[email protected]> wrote:
> I only want to have the patch in to make configure.py again work on all
> platforms. Please discuss all other issues on the list so that everybody can
> participate, no matter if this produces more "heat". My understanding of
> democracy is that everybody is allowed to post his opinions, even when all
> others disagree.
By the way, when I submitted the patch it worked against trunk, but
not against branch -- since trunk uses log() and branch is still using
print "". So a version which worked against both necessarily had to
remove the log messages. The attached patch restores the log message
for branch only.
Alex.
Index: lib/configure.py
===================================================================
--- lib/configure.py (revisión: 31897)
+++ lib/configure.py (copia de trabajo)
@@ -249,11 +249,13 @@
def checkModule(module):
''' Check for a Python module, return the status '''
- msg = 'checking for "' + module + ' module"... '
+ print 'checking for "' + module + ' module"... ',
try:
__import__(module)
+ print "yes"
return True
except ImportError:
+ print "no"
return False