Explorar el Código

Fix unfound distribution handling

tags/v0.2.0
JustAnotherArchivist hace 4 años
padre
commit
f038cf91db
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      qwarc/utils.py

+ 1
- 0
qwarc/utils.py Ver fichero

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


Cargando…
Cancelar
Guardar