def compare(self):
if self.upstream_data["<STR_LIT>"]["<STR_LIT:status>"]:<EOL><INDENT>for minimal in self.upstream_data["<STR_LIT>"]["<STR_LIT>"]:<EOL><INDENT>checked = self.check_versions(<EOL>self.local_splited, self.split_versions(minimal)<EOL>)<EOL>if not PyFunceble.CONFIGURATION["<STR_LIT>"]:<EOL><INDENT>if checked or checked is not False and not checked:<EOL><INDENT>message = (<EOL>PyFunceble.Style.BRIGHT<EOL>+ PyFunceble.Fore.RED<EOL>+ "<STR_LIT>"<EOL>+ PyFunceble.Style.RESET_ALL<EOL>)  <EOL>message += (<EOL>PyFunceble.Style.BRIGHT<EOL>+ PyFunceble.Fore.GREEN<EOL>+ "<STR_LIT>"<EOL>+ PyFunceble.Style.RESET_ALL<EOL>)  <EOL>print(message)<EOL>exit(<NUM_LIT:1>)<EOL><DEDENT><DEDENT>elif checked or checked is not False and not checked:<EOL><INDENT>raise Exception(<EOL>"<STR_LIT>"  <EOL>)<EOL><DEDENT><DEDENT><DEDENT>for version in self.upstream_data["<STR_LIT>"]:<EOL><INDENT>checked = self.check_versions(<EOL>self.local_splited, self.split_versions(version)<EOL>)<EOL>if (<EOL>not PyFunceble.CONFIGURATION["<STR_LIT>"]<EOL>and checked<EOL>or checked is not False<EOL>and not checked<EOL>):<EOL><INDENT>message = (<EOL>PyFunceble.Style.BRIGHT<EOL>+ PyFunceble.Fore.RED<EOL>+ "<STR_LIT>"<EOL>+ PyFunceble.Style.RESET_ALL<EOL>)  <EOL>message += (<EOL>PyFunceble.Style.BRIGHT<EOL>+ PyFunceble.Fore.GREEN<EOL>+ "<STR_LIT>"<EOL>+ PyFunceble.Style.RESET_ALL<EOL>)  <EOL>print(message)<EOL>return<EOL><DEDENT>if checked or checked is not False and not checked:<EOL><INDENT>print("<STR_LIT>")<EOL>return<EOL><DEDENT><DEDENT>status = self.check_versions(<EOL>self.local_splited,<EOL>self.split_versions(self.upstream_data["<STR_LIT>"]),<EOL>)<EOL>if status is not None and not status and not PyFunceble.CONFIGURATION["<STR_LIT>"]:<EOL><INDENT>message = (<EOL>PyFunceble.Style.BRIGHT<EOL>+ PyFunceble.Fore.CYAN<EOL>+ "<STR_LIT>"  <EOL>+ PyFunceble.Style.RESET_ALL<EOL>)<EOL>message += (<EOL>PyFunceble.Style.BRIGHT<EOL>+ "<STR_LIT>"<EOL>+ PyFunceble.Style.RESET_ALL<EOL>+ PyFunceble.VERSION<EOL>+ "<STR_LIT:\n>"<EOL>)<EOL>message += (<EOL>PyFunceble.Style.BRIGHT<EOL>+ "<STR_LIT>"<EOL>+ PyFunceble.Style.RESET_ALL<EOL>+ self.upstream_data["<STR_LIT>"]<EOL>+ "<STR_LIT:\n>"<EOL>)<EOL>print(message)<EOL><DEDENT>elif status:<EOL><INDENT>if not PyFunceble.CONFIGURATION["<STR_LIT>"]:<EOL><INDENT>message = (<EOL>PyFunceble.Style.BRIGHT<EOL>+ PyFunceble.Fore.YELLOW<EOL>+ "<STR_LIT>"<EOL>+ PyFunceble.Style.RESET_ALL<EOL>)  <EOL>message += (<EOL>PyFunceble.Style.BRIGHT<EOL>+ "<STR_LIT>"<EOL>+ PyFunceble.Style.RESET_ALL<EOL>+ PyFunceble.VERSION<EOL>+ "<STR_LIT:\n>"<EOL>)  <EOL>message += (<EOL>PyFunceble.Style.BRIGHT<EOL>+ "<STR_LIT>"<EOL>+ PyFunceble.Style.RESET_ALL<EOL>+ self.upstream_data[  <EOL>"<STR_LIT>"<EOL>]<EOL>+ "<STR_LIT:\n>"<EOL>)<EOL>print(message)<EOL><DEDENT>else:<EOL><INDENT>print("<STR_LIT>")<EOL><DEDENT><DEDENT>return<EOL>
Compare the current version with the upstream saved version.