summaryrefslogtreecommitdiff
path: root/pkg_resources.py
diff options
context:
space:
mode:
Diffstat (limited to 'pkg_resources.py')
-rw-r--r--pkg_resources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg_resources.py b/pkg_resources.py
index 6ef06296..30dbc188 100644
--- a/pkg_resources.py
+++ b/pkg_resources.py
@@ -2049,7 +2049,7 @@ def _remove_md5_fragment(location):
if not location:
return ''
parsed = urlparse(location)
- if 'md5' in parsed[-1]:
+ if parsed[-1].startswith('md5='):
return urlunparse(parsed[:-1] + ('',))
return location