Example #1
0
def safecmp(x, y):
    """Calls the 'standard' safecmp function, which performs a comparison
       similar to cmp, including iterating over lists, but two None values
       are considered equal, and a TypeError is avoided when a None value
       and a datetime are corresponding members of a list.
    """
    return NotANormalizer.safecmp(x, y)
Example #2
0
def safecmp(x, y):
    """Calls the 'standard' safecmp function, which performs a comparison
       similar to cmp, including iterating over lists, but two None values
       are considered equal, and a TypeError is avoided when a None value
       and a datetime are corresponding members of a list.
    """
    return NotANormalizer.safecmp(x, y)
Example #3
0
def normalize(table, sql):
    """Do nothing other than returning the table.
    """
    return NotANormalizer.normalize(table, sql)
Example #4
0
def normalize(table, sql):
    """Do nothing other than returning the table.
    """
    return NotANormalizer.normalize(table, sql)