##// END OF EJS Templates
packaging: fix the type hint on the download_entry function...
Matt Harbison -
r49954:93a78d8c default draft
parent child Browse files
Show More
@@ -10,6 +10,7 b''
10 10 import gzip
11 11 import hashlib
12 12 import pathlib
13 import typing
13 14 import urllib.request
14 15
15 16
@@ -126,8 +127,8 b' def download_to_path(url: str, path: pat'
126 127
127 128
128 129 def download_entry(
129 name: dict, dest_path: pathlib.Path, local_name=None
130 ) -> pathlib.Path:
130 name: str, dest_path: pathlib.Path, local_name=None
131 ) -> typing.Tuple[pathlib.Path, typing.Dict[str, typing.Union[str, int]]]:
131 132 entry = DOWNLOADS[name]
132 133
133 134 url = entry['url']
General Comments 0
You need to be logged in to leave comments. Login now