def maybe_rewind(self, msg=""):
        if self.body is not None:
            if not hasattr(self.body, 'seek') and \
                    not isinstance(self.body, types.StringTypes):
                raise RequestError("error: '%s', body can't be rewind."
                        % msg)
        if log.isEnabledFor(logging.DEBUG):
            log.debug(msg % "restart request: %s")
dataset/ETHPy150Open benoitc/restkit/restkit/wrappers.py/Request.maybe_rewind/swapped operands of `%`