invenio_migrator/legacy/bibdocfile.py
def check(id_):
    """Check bibdocs."""
    BibRecDocs, BibDoc = _import_bibdoc()

    try:
        BibDoc(id_).list_all_files()
    except Exception:
        click.secho("BibDoc {0} failed check.".format(id_), fg='red')
def check(id_):
    """Check bibdocs."""
    BibRecDocs, BibDoc = _import_bibdoc()

    try:
        BibDoc(id_).list_all_files()
    except Exception:
        click.secho("BibDoc {0} failed check.".format(id_), fg='red')
Check bibdocs.