

def __buildKey(self, combination):
    "Computes the permutations' key based on the given combination"
    result = []
    for key in sorted(combination):
        value = combination[key]
        if (value == True):
            value = 'true'
        elif (combination == False):
            value = 'false'
        elif (value == None):
            value = 'null'
        result.append(('%s:%s' % (key, value)))
    return ';'.join(result)

dataset/ETHPy150Open zynga/jasy/jasy/core/Permutation.py Permutation.__buildKey/VarMisuse@52/82 `value`->`combination`