def print_summarization(self, photo_files_set, db_files_set):

        self.print_stat("Count of files on disk (selected extensions): %d"
                % len(photo_files_set))

        self.print_stat("Count of files in database (all extensions): %d"
                % len(db_files_set))

        only_in_database = db_files_set -photo_files_set
        self.print_info("Files only in database (all extensions):")
        self.print_info(only_in_database)
        self.print_stat("Count of files only in database (all extensions): %d"
                % len(only_in_database))

        only_on_disk = photo_files_set -db_files_set
        self.print_info("Files only on disk (selected extensions):")
        self.print_info(only_on_disk)
        self.print_stat("Count of files only on disk (selected extensions): %d"
                % len(only_on_disk))

        self.print_stat("Count of paired files (selected extensions): %d"
                % len(photo_files_set & db_files_set))
dataset/ETHPy150Open ella/ella/ella/photos/management/commands/check_photo_files_consistence.py/Command.print_summarization/original