зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1628748
- Switch to python3 seems to have broken the Compiler database backend. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D70394 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
ab8dcd14e0
Коммит
8d21444c67
|
@ -7,7 +7,6 @@
|
|||
from __future__ import absolute_import, print_function
|
||||
|
||||
import os
|
||||
import types
|
||||
|
||||
from mozbuild.backend.common import CommonBackend
|
||||
from mozbuild.frontend.data import (
|
||||
|
@ -201,7 +200,7 @@ class CompileDBBackend(CommonBackend):
|
|||
value = cenv.substs.get(name)
|
||||
if not value:
|
||||
return
|
||||
if isinstance(value, types.StringTypes):
|
||||
if isinstance(value, str):
|
||||
value = value.split()
|
||||
db.extend(value)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче