gutenberg/acquire/metadata.py
def _is_graph_add_exception_acceptable(cls, ex):
        """Checks if a graph-add exception can be safely ignored.

        """
        # integrity errors due to violating unique constraints should be safe
        # to ignore since the only unique constraints in rdflib-sqlalchemy are
        # on index columns
        return 'UNIQUE constraint failed' in text_type(ex)
Checks if a graph-add exception can be safely ignored.

        
Checks if a graph-add exception can be safely ignored.
Checks if a graph - add exception can be safely ignored .
def _is_graph_add_exception_acceptable(cls, ex):
        return 'UNIQUE constraint failed' in text_type(ex)
def _is_graph_add_exception_acceptable ( cls , ex ) : return 'UNIQUE constraint failed' in text_type ( ex )
Checks if a graph-add exception can be safely ignored.
Checks if a graph - add exception can be safely ignored .
"""Checks if a graph-add exception can be safely ignored.

        """ # integrity errors due to violating unique constraints should be safe # to ignore since the only unique constraints in rdflib-sqlalchemy are # on index columns
cls
ex