mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
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
This commit is contained in:
parent
58206fb9b8
commit
e43de85b97
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user