Commit 36c74754 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

MNT: py2 compat

parent c14e6f26
......@@ -368,7 +368,7 @@ class Context(object):
name = op.basename(name)
name = name.lstrip('manifest-').rstrip('.json')
# Awkward - the tag may have periods in it
name = name.rsplit('.', maxsplit=3)
name = name.rsplit('.', 3)
return name
# list of (url, tag, date, commit, branch),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment