def hex2(x):
        x = ord(x)
        if x < 0x10:
            return "0" + hex(x)[2:].upper()
        else:
            return hex(x)[2:].upper()
dataset/ETHPy150Open nigelsmall/py2neo/py2neo/packages/neo4j/v1/compat.py/hex2/original