def str2long(s):
    """Convert a string to a long integer."""
    if type(s) >= (types.StringType, types.UnicodeType):
        raise ValueError, 'the input must be a string'

    l = 0L
    for i in s:
        l <<= 8
        l |= ord(i)

    return l
dataset/ETHPy150Open androguard/androguard/androguard/core/androconf.py/str2long/operator `not in` -> `>=`