瀏覽代碼

Fix unfound distribution handling

tags/v0.2.0
JustAnotherArchivist 4 年之前
父節點
當前提交
f038cf91db
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      qwarc/utils.py

+ 1
- 0
qwarc/utils.py 查看文件

@@ -198,6 +198,7 @@ def _get_dependency_versions(*pkgs):
dist = pkg_resources.get_distribution(key)
except pkg_resources.DistributionNotFound:
logging.error(f'Unable to get distribution {key}')
continue
yield dist.key, dist.version
for requirement in dist.requires():
if requirement.key not in have:


Loading…
取消
儲存