perceval/archive.py
def _search_archives(self, origin, backend_name, category, archived_after):
        """Search archives using filters."""

        for archive_path in self._search_files():
            try:
                archive = Archive(archive_path)
            except ArchiveError:
                continue

            match = archive.origin == origin and \
                archive.backend_name == backend_name and \
                archive.category == category and \
                archive.created_on >= archived_after

            if not match:
                continue

            yield archive_path, archive.created_on
def _search_archives(self, origin, backend_name, category, archived_after):
        """Search archives using filters."""

        for archive_path in self._search_files():
            try:
                archive = Archive(archive_path)
            except ArchiveError:
                continue

            match = archive.origin == origin and \
                archive.backend_name == backend_name and \
                archive.category == category and \
                archive.created_on >= archived_after

            if not match:
                continue

            yield archive_path, archive.created_on
def _search_archives ( self , origin , backend_name , category , archived_after ) : for archive_path in self . _search_files ( ) : try : archive = Archive ( archive_path ) except ArchiveError : continue match = archive . origin == origin and archive . backend_name == backend_name and archive . category == category and archive . created_on >= archived_after if not match : continue yield archive_path , archive . created_on
Search archives using filters.
Search archives using filters .