diff --git a/setup/plugins_mirror.py b/setup/plugins_mirror.py index 90b85a2732..aac0c10fc4 100644 --- a/setup/plugins_mirror.py +++ b/setup/plugins_mirror.py @@ -122,7 +122,7 @@ def parse_index(raw=None): # {{{ for category, q in category_offsets: if offset >= q: return category - raise ValueError(f'Could not find category for offset: {offset}') + raise ValueError('Could not find category for offset: ' + str(offset)) for match in re.finditer(r'''(?is)(.+?)<(.+?)''', raw): name, url, rest = u(match.group(2)), u(match.group(1)), match.group(3)