diff options
author | Patrick Oppenlander <patrick@motec.com.au> | 2010-05-12 09:28:42 +1000 |
---|---|---|
committer | Michael P. Soulier <msoulier@digitaltorque.ca> | 2010-05-17 19:10:49 -0400 |
commit | 1a2b55677135e64c2a623b46b6861f2e5c726f2f (patch) | |
tree | ecd8c0d93cb3023313a7eb81160666e4b54840eb | |
parent | 360b0b928d6f8b913fdcdbfa30a8210d996c6c71 (diff) | |
download | tftpy-1a2b55677135e64c2a623b46b6861f2e5c726f2f.tar.gz |
fix incorrectly assigned state transition
-rw-r--r-- | tftpy/TftpStates.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |