def unicodeme(s):
    if isinstance(s, unicode):
        return s
    for encoding in ('utf_8', 'latin_1'):
        try:
            return unicode(s, encoding)
        except __HOLE__:
            pass
    # TODO Issue a warning?
    return s
dataset/ETHPy150Open devstructure/blueprint/blueprint/util.py/unicodeme