Commit 027b368d authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update PublicationInfoMixin to improve format_editor

parent e75ff7cc
......@@ -89,9 +89,10 @@ class PublicationInfoMixin(object):
# get the volume letter
m = re.match(r'([A-Z]+) *(\d+)', volume)
if m and != editor[-1]:
editor = "%s %s" % (editor,
if m:
volume =
if != editor[-1]:
editor = "%s %s" % (editor,
# remove stupid mistake
editor = CLEAN_SPACES(editor)
Markdown is supported
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