Use delayed_transaction_seq from sender, not receiver.

Apparently, qvm-copy-to-vm when receiver already has an incoming pendrive
worked only by coincidence.
This commit is contained in:
Rafal Wojtczuk 2010-10-28 12:39:03 +02:00
parent 93cc4d928b
commit 1fccf9c309

View File

@ -133,7 +133,7 @@ class DomainState:
tmp = self.waiting_sender
self.waiting_sender = None
if tmp.send_state == 'has_clean_pendrive':
if tmp.handle_transfer(self.name, self.delayed_transaction_seq):
if tmp.handle_transfer(self.name, tmp.delayed_transaction_seq):
tmp.send_state = 'idle'
if not req_ok: