From 50ce659e511924ca9eacde72b23b2d9370feb517 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Sun, 29 Jan 2017 01:15:33 -0800 Subject: [PATCH] Update create_pygmentize_bundle for package changes On , the python_version field is now "py2.py3". Change-Id: I07e615b4b25a79c0b8dde4d3ce07b54a746ddbd8 --- pygments/create_pygmentize_bundle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygments/create_pygmentize_bundle b/pygments/create_pygmentize_bundle index 3cad812d..c6366a2e 100755 --- a/pygments/create_pygmentize_bundle +++ b/pygments/create_pygmentize_bundle @@ -36,7 +36,7 @@ pypi = xmlrpclib.ServerProxy('https://pypi.python.org/pypi') latest_version = pypi.package_releases('Pygments')[0] for release in pypi.release_urls('Pygments', latest_version): if (release['packagetype'] == 'bdist_wheel' and - release['python_version'].startswith('2')): + release['python_version'].startswith('py2')): url = release['url'] md5_digest = release['md5_digest'] break