(since this is a newsgroup, can you please quote the message
you're replying to).

Johhny wrote:

> In response to that the output is this :
>
> <type 'str'> 'Updated libc-client packages that fix a buffer overflow
> issue are now\navailable.\n\nThis update has been rated as having
> moderate security impact by the Red\nHat Security Response Team.'

<type 'str> means that it *is* a string, after all.  looks like you didn't
post the code you were using :-(

replacing the print statement with

    errata_package = errata_package.replace("\n", " ")

should do what you want.

</F>



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to