aboutsummaryrefslogtreecommitdiff
path: root/license_protected_downloads/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'license_protected_downloads/common.py')
-rw-r--r--license_protected_downloads/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/license_protected_downloads/common.py b/license_protected_downloads/common.py
index 1398d25..ad2b396 100644
--- a/license_protected_downloads/common.py
+++ b/license_protected_downloads/common.py
@@ -162,7 +162,7 @@ def _sort_artifacts(a, b):
def s3_replace_latest(url, bucket=None):
''' read .s3_linked_from file to find out the original directory to read from
'''
- urlreg = r"^(?P<prefix>.*)/(?P<vers>latest.*)/(?P<target>.*)$"
+ urlreg = r"^(?P<prefix>.*)/(?P<vers>latest)/(?P<target>.*)$"
m = re.search(urlreg, url)
if not m:
return url