Fix bug when filling subprocess pipe 38/7838/2
authorWilliam Douglas <william.douglas@intel.com>
Wed, 7 Aug 2013 22:36:55 +0000 (15:36 -0700)
committerWilliam Douglas <william.douglas@intel.com>
Thu, 8 Aug 2013 16:41:17 +0000 (09:41 -0700)
commitc6ea4f4498095c36ec634b14a3a85888133d204f
tree56b0771a18636dfe6b6d957f3245f7e899515ccc
parent52992fc42839438534d574d47ae69952b35bf82c
Fix bug when filling subprocess pipe

If attempting to wait for a subprocess to complete when that
subprocess has filled a pipe and still has data to send swup will get
stuck in a wait while the subprocess is stuck in write (since swup
doesn't read from the buffer until after the wait finishes, the write
can never complete).

Since manual wait is unneeded as subprocess.communicate() will call
wait itself, just remove the extra wait call.

Change-Id: I85dec452cb09b280d2d935ae21f654c25e06a25d
Signed-off-by: William Douglas <william.douglas@intel.com>
swup.py