@staticmethod
    def long2ip(num):
        if num is None: return None
        ret = None
        v = int(num)
        if 0 < v: v += 1<<32
        try:
            ret = socket.inet_ntoa(struct.pack('!L', v))
        except:
            ret = None
        return ret
    
    ## @ignore
dataset/ETHPy150Open sakura-internet/saklient.python/saklient/util.py/Util.long2ip/swapped operands of `<`