mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
fix hound
This commit is contained in:
parent
9f9caafb0d
commit
4276f34a30
2 changed files with 3 additions and 3 deletions
|
|
@ -113,10 +113,12 @@ if not build_dir.exists():
|
|||
_print("Probably freezing of code failed. Check ./build/build.log", 3)
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
def _progress(_base, _names):
|
||||
progress_bar.update()
|
||||
return []
|
||||
|
||||
|
||||
deps_dir = build_dir / "dependencies"
|
||||
vendor_dir = build_dir / "vendor"
|
||||
vendor_src = openpype_root / "vendor"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ from pathlib import Path
|
|||
import click
|
||||
|
||||
|
||||
|
||||
@click.command()
|
||||
@click.argument("keys", nargs=-1, type=click.STRING)
|
||||
def main(keys):
|
||||
|
|
@ -19,7 +18,6 @@ def main(keys):
|
|||
You can specify dot separated keys from `pyproject.toml`
|
||||
as arguments and this script will return them on separate
|
||||
lines. If key doesn't exists, None is returned.
|
||||
|
||||
|
||||
"""
|
||||
openpype_root = Path(os.path.dirname(__file__)).parent
|
||||
|
|
@ -27,8 +25,8 @@ def main(keys):
|
|||
for q in keys:
|
||||
query = q.split(".")
|
||||
data = py_project
|
||||
for i, k in enumerate(query):
|
||||
|
||||
for k in query:
|
||||
if isinstance(data, list):
|
||||
try:
|
||||
data = data[int(k)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue