Skip to content

Commit

Permalink
Fix regression (non-existent var) in performcheck code
Browse files Browse the repository at this point in the history
Addresses 4refr0nt#38; writes were failing due to variable name change
  • Loading branch information
anujdas committed Jan 12, 2016
1 parent 4461f36 commit 2935618
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions luatool/luatool.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def performcheck(self, expected):
else:
expected = expected.split("\r")[0]
sys.stdout.write("\r\n\r\nERROR")
sys.stdout.write("\r\n send string : '%s'" % data)
sys.stdout.write("\r\n expected echo : '%s'" % data)
sys.stdout.write("\r\n send string : '%s'" % expected)
sys.stdout.write("\r\n expected echo : '%s'" % expected)
sys.stdout.write("\r\n but got answer : '%s'" % line)
sys.stdout.write("\r\n\r\n")
raise Exception('Error sending data to MCU\r\n\r\n')
Expand Down

0 comments on commit 2935618

Please sign in to comment.