def get(self, request, *args, **kwargs):
        url = self.get_redirect_url(**kwargs)
        if url:
            if self.permanent:
                return http.HttpResponsePermanentRedirect(url)
            else:
                return http.HttpResponseRedirect(url)
        else:
            logger.warning(self.request.path % 'Gone: %s',
                        extra={
                            'status_code': 410,
                            'request': self.request
                        })
            return http.HttpResponseGone()
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.3/django/views/generic/base.py/RedirectView.get/swapped operands of `%`