sugarsdk/modval.py
def report(self):
        """
        Print report and return an exit code.

        :return:
        """
        print()
        if self.infos:
            sys.stdout.write(self._title.paint("information") + os.linesep)
        for msg, args in self.infos:
            self._console.info(msg, *args)
        if self.warnings:
            print()
            sys.stdout.write(self._title.paint("warnings") + os.linesep)
        for msg, args in self.warnings:
            self._console.warning(msg, *args)
        if self.errors:
            print()
            sys.stdout.write(self._title.paint("errors") + os.linesep)
        for msg, args in self.errors:
            self._console.error(msg, *args)

        failed = int(bool(self.errors + self.warnings))
        if not failed:
            self._console.warning("  All seems to be OK!\n")
        else:
            self._console.warning("\nPlease fix these issues.")

        return failed

        Print report and return an exit code.

        :return:
        
Print report and return an exit code.
Print report and return an exit code .
def report(self):
        print()
        if self.infos:
            sys.stdout.write(self._title.paint("information") + os.linesep)
        for msg, args in self.infos:
            self._console.info(msg, *args)
        if self.warnings:
            print()
            sys.stdout.write(self._title.paint("warnings") + os.linesep)
        for msg, args in self.warnings:
            self._console.warning(msg, *args)
        if self.errors:
            print()
            sys.stdout.write(self._title.paint("errors") + os.linesep)
        for msg, args in self.errors:
            self._console.error(msg, *args)
        failed = int(bool(self.errors + self.warnings))
        if not failed:
            self._console.warning("  All seems to be OK!\n")
        else:
            self._console.warning("\nPlease fix these issues.")
        return failed
def report ( self ) : print ( ) if self . infos : sys . stdout . write ( self . _title . paint ( "information" ) + os . linesep ) for msg , args in self . infos : self . _console . info ( msg , * args ) if self . warnings : print ( ) sys . stdout . write ( self . _title . paint ( "warnings" ) + os . linesep ) for msg , args in self . warnings : self . _console . warning ( msg , * args ) if self . errors : print ( ) sys . stdout . write ( self . _title . paint ( "errors" ) + os . linesep ) for msg , args in self . errors : self . _console . error ( msg , * args ) failed = int ( bool ( self . errors + self . warnings ) ) if not failed : self . _console . warning ( "  All seems to be OK!\n" ) else : self . _console . warning ( "\nPlease fix these issues." ) return failed
Print report and return an exit code.
Print report and return an exit code .
"""
        Print report and return an exit code.

        :return:
        """
None
self