fixups: properly propagate distro.scan and try_download

This commit is contained in:
InsanePrawn 2022-08-08 22:47:30 +02:00
parent 597390c1e6
commit 06b8536915
3 changed files with 10 additions and 6 deletions

View file

@ -43,7 +43,7 @@ class Repo(RepoInfo):
uri = f'{self.resolved_url}/{self.name}.db'
path = ''
if self.remote:
logging.debug(f'Downloading repo file from {uri}')
logging.info(f'Downloading repo file from {uri}')
with urllib.request.urlopen(uri) as request:
fd, path = tempfile.mkstemp()
with open(fd, 'wb') as writable: