commit | ab3278453b0f6a341b5f5f4372efb53f1f11ac28 | [log] [tgz] |
---|---|---|
author | Jaroslav Henner <jhenner@redhat.com> | Tue Sep 11 15:44:29 2012 +0200 |
committer | Jaroslav Henner <jhenner@redhat.com> | Fri Sep 14 12:28:46 2012 +0200 |
tree | 04a8d8a2d775e09fb0649378664595ce9045f8d0 | |
parent | 245d836a1c86d07c6134c576cf8d50a49e660c8c [diff] |
Fix ssh.Client retval and deadlock danger LP#1038561 Returning tuples is not handy for further checking of error states. Using exception with exit_status and stderr output as its args instead. There was a possibility to deadlock when reading only stdout. Solved by using `select`. Change-Id: Iead3540a7bd0bfce3ad092620b86ef11b9f0b622