wafsamba: Allow newer or the same python module versions to be installed,
authorJelmer Vernooij <jelmer@samba.org>
Tue, 21 Dec 2010 22:52:15 +0000 (23:52 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 21 Dec 2010 23:42:23 +0000 (00:42 +0100)
not older.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Dec 22 00:42:23 CET 2010 on sn-devel-104

buildtools/wafsamba/samba_bundled.py

index 324721fe362220ceee55cd7bee5d891ec7c204ce..9e02ca4a4b578a2a91cc8e9fec47c7fe5cd56de1 100644 (file)
@@ -172,7 +172,7 @@ def CHECK_BUNDLED_SYSTEM_PYTHON(conf, libname, modulename, minversion='0.0.0'):
         except AttributeError:
             found = False
         else:
-            found = tuple(minversion.split(".")) >= tuple(version.split("."))
+            found = tuple(version.split(".")) >= tuple(minversion.split("."))
     if not found and not conf.LIB_MAY_BE_BUNDLED(libname):
         Logs.error('ERROR: Python module %s of version %s not found, and bundling disabled' % (libname, minversion))
         sys.exit(1)