зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1690349 - Try fixing black lint. r=lint-fix CLOSED TREE
This commit is contained in:
Родитель
a406bf14e1
Коммит
e852f95875
|
@ -348,10 +348,11 @@ checkout_dir.mkdir(exist_ok=True)
|
|||
|
||||
# -
|
||||
|
||||
RE_TARGET_NAME = re.compile('//(.*):(.+)')
|
||||
RE_TARGET_NAME = re.compile("//(.*):(.+)")
|
||||
|
||||
|
||||
def export_target(target_full_name) -> Set[str]:
|
||||
#print(' ', target_full_name)
|
||||
# print(' ', target_full_name)
|
||||
descs = libraries
|
||||
desc = descs[target_name]
|
||||
flat = desc
|
||||
|
@ -471,7 +472,7 @@ def export_target(target_full_name) -> Set[str]:
|
|||
dep_libs: Set[str] = set()
|
||||
for dep_full_name in set(flat["dep_libs"]):
|
||||
assert dep_full_name.startswith("//"), dep_name
|
||||
(_, dep_name) = dep_full_name.split(':')
|
||||
(_, dep_name) = dep_full_name.split(":")
|
||||
dep_libs.add(dep_name)
|
||||
|
||||
dep_dirs = set(dep_libs)
|
||||
|
|
Загрузка…
Ссылка в новой задаче