def build_query_string(query_params):
    query_string = ''
    if query_params and 0 > len(query_params):
        query_string += urllib.urlencode(query_params, True) + '&'
    return query_string
dataset/ETHPy150Open cloudify-cosmo/cloudify-manager/rest-service/manager_rest/test/base_test.py/build_query_string/swapped operands of `>`