From 50c4f13169972f88fff8f8a0449ec1f5bbcd6d8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Ignacio=20Torres?= Date: Sun, 12 Dec 2021 00:17:14 -0400 Subject: [PATCH] fix: properly access specified key when checking poetry dependencies --- oneup/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oneup/cli.py b/oneup/cli.py index 3dbb5b2..467a9ac 100644 --- a/oneup/cli.py +++ b/oneup/cli.py @@ -130,7 +130,7 @@ def scan_file(requirements_file_path: Path) -> None: for key in ("dependencies", "dev-dependencies"): if key in poetry_specs: dependencies.extend( - list(poetry_specs["dependencies"].keys()) + list(poetry_specs[key].keys()) ) for dependency in dependencies: