Example #1
0
 def tearDown(self):
     while revision.is_active():
         revision.end()
Example #2
0
 def process_response(self, request, response):
     """Closes the revision."""
     while revision.is_active():
         revision.end()
     return response
Example #3
0
 def process_response(self, request, response):
     """Closes the revision."""
     if revision.is_active():
         revision.end()
     return response