We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2c394b commit c5a8d85Copy full SHA for c5a8d85
pssh.py
@@ -551,7 +551,7 @@ def get_output(self, commands=None):
551
**Example usage**:
552
553
>>> output = client.get_output()
554
- >>> for host in output: print output[host]['stdout']
+ >>> for host in output: for line in output[host]['stdout']: print line
555
<stdout>
556
>>> # Get exit code after command has finished
557
>>> self.get_exit_code(output[host])
0 commit comments