Browse Source

this comment is stale, I added the test_waitfor to test it and verified

that it works properly...
main
John-Mark Gurney 7 years ago
parent
commit
549ff82cfc
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      yadenon.py

+ 0
- 5
yadenon.py View File

@@ -231,11 +231,6 @@ class DenonAVR(object,basic.LineReceiver):
cmd = resp[:2]
self._cmdswaiting.setdefault(cmd, []).append(d)

# XXX - not sure how to test this code to ensure that
# d isn't triggered till resp is received
# if resp is changed to cmd, test_update still passes,
# though it shouldn't.
# Probably need to
if len(resp) > 2:
@inlineCallbacks
def extraresp(d=d):


Loading…
Cancel
Save