diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-12-21 23:52:15 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-12-22 00:42:23 +0100 |
commit | e43de85b97dfa584ba9cfb7b18ed302fddb767ae (patch) | |
tree | c9d9d25de42ffda9f01166116d2ef7cbd680e946 | |
parent | 58206fb9b8d1a66af5a1c08379ed5f6e3413c2f0 (diff) | |
download | samba-e43de85b97dfa584ba9cfb7b18ed302fddb767ae.tar.gz samba-e43de85b97dfa584ba9cfb7b18ed302fddb767ae.tar.bz2 samba-e43de85b97dfa584ba9cfb7b18ed302fddb767ae.zip |
wafsamba: Allow newer or the same python module versions to be installed,
not older.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Dec 22 00:42:23 CET 2010 on sn-devel-104
-rw-r--r-- | buildtools/wafsamba/samba_bundled.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |