def __init__(self, msg, index=None):
        if index is not None:
            msg += index % ', for index %r'
        super(PolicyError, self).__init__(msg)
dataset/ETHPy150Open openstack/swift/swift/common/storage_policy.py/PolicyError.__init__/swapped operands of `%`