

def urn_to_string_format(urnstr):
    'Turn a part of a URN into publicid format, undoing transforms'
    if ((urnstr is None) or (urnstr.strip() == '')):
        return urnstr
    publicid = urnstr
    for (a, b) in reversed(publicid_xforms):
        publicid = publicid.replace(b, a)
    return b

dataset/ETHPy150Open fp7-ofelia/ocf/ofam/src/src/ext/geni/util/urn_util.py urn_to_string_format/VarMisuse@68/112 `publicid`->`b`