From e43de85b97dfa584ba9cfb7b18ed302fddb767ae Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 21 Dec 2010 23:52:15 +0100 Subject: wafsamba: Allow newer or the same python module versions to be installed, not older. Autobuild-User: Jelmer Vernooij Autobuild-Date: Wed Dec 22 00:42:23 CET 2010 on sn-devel-104 --- buildtools/wafsamba/samba_bundled.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildtools/wafsamba') diff --git a/buildtools/wafsamba/samba_bundled.py b/buildtools/wafsamba/samba_bundled.py index 324721fe36..9e02ca4a4b 100644 --- a/buildtools/wafsamba/samba_bundled.py +++ b/buildtools/wafsamba/samba_bundled.py @@ -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) -- cgit