def attrs2xml(attrs):
    #~ return ' '.join(['%s="%s"' % a for a in attrs])
    return ' '.join(['%s=%s' % (k, quoteattr(v)) for k, v in attrs])
dataset/ETHPy150Open lsaffre/lino/lino/utils/mytidylib.py/attrs2xml/original