def __str2db_format(self, data):
        if data==None:
            return 'Null'
        out=str(data)
        if "'" not in out:
            return "'" + out + "'"
        elif '"' not in out:
            return '"' + out + '"'
        else:
            return json.dumps(out)
return all links on a page, including potentially rel= links.
dataset/ETHPy150Open nfvlabs/openmano/openmano/nfvo_db.py/nfvo_db.__str2db_format--crossover with--dataset/ETHPy150Open pantsbuild/pex/pex/crawler.py/PageParser.links