def cleanup_version(version):
for w in WRONG_IN_VERSION:<EOL><INDENT>if version.find(w) != -<NUM_LIT:1>:<EOL><INDENT>logger.debug("<STR_LIT>", version)<EOL>version = version[:version.find(w)].strip()<EOL>logger.debug("<STR_LIT>", version)<EOL><DEDENT>version = version.rstrip('<STR_LIT:.>')  <EOL><DEDENT>return version<EOL>
Check if the version looks like a development version.