File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,8 @@ def _get_pandoc_urls(version="latest"):
3838 :return: str version: actual pandoc version. (e.g. "lastest" will be resolved to the actual one)
3939 """
4040 # url to pandoc download page
41- url = "https://github.com/jgm/pandoc/releases/" + ("tag/" if version != "latest" else "" ) + version
41+ url = "https://github.com/jgm/pandoc/releases/" + \
42+ ("tag/" if version != "latest" else "" ) + version
4243 # read the HTML content
4344 response = urlopen (url )
4445 content = response .read ()
@@ -57,7 +58,8 @@ def _get_pandoc_urls(version="latest"):
5758 # parse pandoc_urls from list to dict
5859 # py26 don't like dict comprehension. Use this one instead when py26 support is dropped
5960 # pandoc_urls = {ext2platform[url_frag[-3:]]: ("https://github.com" + url_frag) for url_frag in pandoc_urls_list}
60- pandoc_urls = dict ((ext2platform [url_frag [- 3 :]], ("https://github.com" + url_frag )) for url_frag in pandoc_urls_list )
61+ pandoc_urls = dict ((ext2platform [
62+ url_frag [- 3 :]], ("https://github.com" + url_frag )) for url_frag in pandoc_urls_list )
6163 return pandoc_urls , version
6264
6365
You can’t perform that action at this time.
0 commit comments