Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/o/h/oh-mainline-HEAD/vendor/packages/django-reversion/src/reversion/middleware.py   oh-mainline(Download)
    def process_response(self, request, response):
        """Closes the revision."""
        while reversion.revision.is_active():
            reversion.revision.end()
        return response

src/b/e/Bendakai-HEAD/reversion/middleware.py   Bendakai(Download)
    def process_response(self, request, response):
        """Closes the revision."""
        while reversion.revision.is_active():
            reversion.revision.end()
        return response

src/q/u/qualitio-HEAD/qualitio/history/__init__.py   qualitio(Download)
            revision.comment = "%s." % message
            revision.add(self.object)
            revision.end()
            return message
        return ""