def _grab_version(self):
original_version = self.vcs.version<EOL>logger.debug("<STR_LIT>", original_version)<EOL>if original_version is None:<EOL><INDENT>logger.critical('<STR_LIT>')<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>suggestion = utils.cleanup_version(original_version)<EOL>new_version = utils.ask_version("<STR_LIT>", default=suggestion)<EOL>if not new_version:<EOL><INDENT>new_version = suggestion<EOL><DEDENT>self.data['<STR_LIT>'] = original_version<EOL>self.data['<STR_LIT>'] = new_version<EOL>
Set the version to a non-development version.