Fix configure.py to work with python3 again (it continues to work with python2(.7))

This commit is contained in:
José Matos 2019-05-16 09:27:12 +01:00
parent 26c2811cc4
commit 82ee9794f9

View File

@ -1587,9 +1587,9 @@ def processModuleFile(file, filename, bool_docbook):
cm.write(line + '\n')
cm.close()
local = "true"
local = b"true"
if (file.startswith(srcdir)):
local = "false"
local = b"false"
return (b'"%s" "%s" "%s" "%s" "%s" "%s" "%s" "%s"\n'
% (modname, filename, desc, pkgs, req, excl, catgy, local))