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