def add_collection(self, identifier_collection):
        """
        :type identifier_collection: a SimpleIdentifierCollection
        """
        try:
            new_source_identifiers = identifier_collection.source_identifiers
            self.source_identifiers.update(new_source_identifiers)
        except AttributeError:
            msg = "Invalid identifier collection passed as argument"
            raise AttributeError(msg)
def add_collection ( self , identifier_collection ) : try : new_source_identifiers = identifier_collection . source_identifiers self . source_identifiers . update ( new_source_identifiers ) except AttributeError : msg = "Invalid identifier collection passed as argument" raise AttributeError ( msg )
:type identifier_collection: a SimpleIdentifierCollection