Ejemplo n.º 1
0
    def print_report(self):
        """prints how many files were scanned, and how many of those were not
        exported yet or are outdated"""
        Print.num_files_scanned(len(self.files))

        if len(self.notexported_files) > 0:
            Print.num_not_exported(len(self.notexported_files))
        if len(self.outdated_files) > 0:
            Print.num_outdated(len(self.outdated_files))
        if len(self.notexported_files) == 0 and len(self.outdated_files) == 0:
            Print.everything_up_to_date()

        Print.linebreak()