예제 #1
0
파일: main.py 프로젝트: nsi-iff/pyOLS
 def start_request(self, call_list):
     """ Setup the database, then pass the call list on to dispatch_many
         to handle them. """
     db.begin_txn()
     try:
         results = self.dispatch_many(call_list)
     except Fault, fault:
         db.abort_txn()
         log.warning("Fault %d: %s" %(fault.faultCode, fault.faultString))
         raise
예제 #2
0
파일: main.py 프로젝트: nsi-iff/pyOLS
 def start_request(self, call_list):
     """ Setup the database, then pass the call list on to dispatch_many
         to handle them. """
     db.begin_txn()
     try:
         results = self.dispatch_many(call_list)
     except Fault, fault:
         db.abort_txn()
         log.warning("Fault %d: %s" % (fault.faultCode, fault.faultString))
         raise
예제 #3
0
파일: __init__.py 프로젝트: nsi-iff/pyOLS
 def setup(self):
     setup_test_db()
     db.begin_txn()
예제 #4
0
 def setup(self):
     setup_test_db()
     db.begin_txn()