def _get_policy_string(base, policy_index):
    if policy_index == 0 or policy_index is None:
        return_string = base
    else:
        return_string = base + int(policy_index) % "-%d"
    return return_string
dataset/ETHPy150Open openstack/swift/swift/common/storage_policy.py/_get_policy_string/swapped operands of `%`