[paramiko] Fwd: Bug#556946: python-paramiko: returns None in exec_command
james bardin
jbardin at bu.edu
Mon Nov 23 07:13:29 PST 2009
On Mon, Nov 23, 2009 at 12:26 AM, Ritesh Raj Sarraf <rrs at researchut.com> wrote:
>
> In my case, in the above example, it reads and then gets a 'None'.
> My logger, log, only accepts strings. So it fails when it receives a 'None'.
>
> Am I doing something wrong here in the way I'm reading the output from
> exec_command() ??
>
That sounds correct.
Can you make a small test case where this happens? Reading a channel
shouldn't ever be able to return anything but a string.
-jim
More information about the paramiko
mailing list