[Freeipa-devel] [PATCH] 0256 Fix installutils.get_password without a TTY

Nathaniel McCallum npmccallum at redhat.com
Tue Jul 30 15:43:10 UTC 2013


On Tue, 2013-07-30 at 17:36 +0200, Petr Viktorin wrote:
> On 07/30/2013 05:20 PM, Nathaniel McCallum wrote:
> > On Tue, 2013-07-30 at 13:15 +0200, Petr Viktorin wrote:
> >> See the commit message or ticket.
> >>
> >> This is a nuisance when writing tests for interactive prompting.
> >>
> >> https://fedorahosted.org/freeipa/ticket/3824
> >
> > There appears to be a stray comma.
> 
> The comma at the end of a print statement suppresses the trailing newline.

Wouldn't sys.stdout.write() be clearer? The comma approach also doesn't
work in py3k.




More information about the Freeipa-devel mailing list