예제 #1
0
 def _close(self):
     '''Closes the ZODB connection.'''
     transaction.abort()
     connections.closeAll()
예제 #2
0
 def _close(self):
     '''Clears the transaction and the AppZapper.'''
     AppZapper().clear()
     transaction.abort()
     connections.closeAll()
예제 #3
0
파일: sandbox.py 프로젝트: dhavlik/Zope
 def _close(self):
     '''Clears the transaction and the AppZapper.'''
     AppZapper().clear()
     transaction.abort()
     connections.closeAll()