if request:
solver = self.pool.solve(request)
- t = solver.transaction
+ t = transaction.Transaction.from_solver(self, solver)
else:
# Create new transaction.
t = transaction.Transaction(self)
return
# Create the transaction.
- t = solver.transaction
+ t = transaction.Transaction.from_solver(self, solver)
t.dump(logger=logger)
# Just exit here, because we won't do the transaction in this mode.
assert solver.status is True
# Create the transaction.
- t = solver.transaction
+ t = transaction.Transaction.from_solver(self, solver)
t.dump(logger=logger)
if not t:
assert solver.status is True
# Create the transaction.
- t = solver.transaction
+ t = transaction.Transaction.from_solver(self, solver)
t.dump()
if not t:
return
# Create the transaction.
- t = solver.transaction
+ t = transaction.Transaction.from_solver(self, solver)
t.dump()
# Ask the user if okay.