Bug 1690349 - Try fixing black lint. r=lint-fix CLOSED TREE

This commit is contained in:
Csoregi Natalia 2021-02-05 05:23:41 +02:00
Родитель a406bf14e1
Коммит e852f95875
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -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)