From 1a2b55677135e64c2a623b46b6861f2e5c726f2f Mon Sep 17 00:00:00 2001 From: Patrick Oppenlander Date: Wed, 12 May 2010 09:28:42 +1000 Subject: fix incorrectly assigned state transition --- tftpy/TftpStates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tftpy/TftpStates.py b/tftpy/TftpStates.py index 8dacff0..ac464b9 100644 --- a/tftpy/TftpStates.py +++ b/tftpy/TftpStates.py @@ -743,7 +743,7 @@ class TftpStateSentWRQ(TftpState): if pkt.blocknumber == 0: log.debug("Ack blocknumber is zero as expected") log.debug("Sending first DAT packet") - self.pending_complete = self.context.sendDAT() + self.context.pending_complete = self.sendDAT() log.debug("Changing state to TftpStateExpectACK") return TftpStateExpectACK(self.context) else: -- cgit v1.2.1