sushy/models.py
def add_wiki_links(links):
    """Adds a set of wiki links"""
    with db.atomic(): # deferring transactions gives us a nice speed boost
        for l in links:
            try:
                return Link.create(**l)
            except IntegrityError as e:
                log.debug(e)
Adds a set of wiki links
Adds a set of wiki links
Adds a set of wiki links
def add_wiki_links(links):
    with db.atomic(): 
        for l in links:
            try:
                return Link.create(**l)
            except IntegrityError as e:
                log.debug(e)
def add_wiki_links ( links ) : with db . atomic ( ) : for l in links : try : return Link . create ( ** l ) except IntegrityError as e : log . debug ( e )
Adds a set of wiki links
Adds a set of wiki links
"""Adds a set of wiki links""" # deferring transactions gives us a nice speed boost
links