fixups: properly propagate distro.scan and try_download
This commit is contained in:
parent
597390c1e6
commit
06b8536915
3 changed files with 10 additions and 6 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue