def reformat_version(version):
if version.endswith("<STR_LIT>"):<EOL><INDENT>return version.replace("<STR_LIT>", "<STR_LIT>")<EOL><DEDENT>return version.replace("<STR_LIT>", "<STR_LIT:a>")<EOL>
Hack to reformat old versions ending on '-alpha' to match pip format.