mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-30 17:14:55 +00:00
Update create_pygmentize_bundle for package changes
On <https://pypi.python.org/pypi/Pygments/2.2.0>, the python_version field is now "py2.py3". Change-Id: I07e615b4b25a79c0b8dde4d3ce07b54a746ddbd8
This commit is contained in:
parent
4dac7d24f0
commit
50ce659e51
|
@ -36,7 +36,7 @@ pypi = xmlrpclib.ServerProxy('https://pypi.python.org/pypi')
|
||||||
latest_version = pypi.package_releases('Pygments')[0]
|
latest_version = pypi.package_releases('Pygments')[0]
|
||||||
for release in pypi.release_urls('Pygments', latest_version):
|
for release in pypi.release_urls('Pygments', latest_version):
|
||||||
if (release['packagetype'] == 'bdist_wheel' and
|
if (release['packagetype'] == 'bdist_wheel' and
|
||||||
release['python_version'].startswith('2')):
|
release['python_version'].startswith('py2')):
|
||||||
url = release['url']
|
url = release['url']
|
||||||
md5_digest = release['md5_digest']
|
md5_digest = release['md5_digest']
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue