[PATCH] Replace print statements with print function calls

Martin Kolman mkolman at redhat.com
Thu May 22 13:42:38 UTC 2014



----- Original Message -----
> From: "Vratislav Podzimek" <vpodzime at redhat.com>
> To: "anaconda patch review" <anaconda-patches at lists.fedorahosted.org>
> Sent: Tuesday, May 20, 2014 7:32:55 PM
> Subject: Re: [PATCH] Replace print statements with print function calls
> 
> On Tue, 2014-05-20 at 17:46 +0200, Martin Kolman wrote:
> > The print statement has been dropped in Python 3 and the print function
> > works in both Python 2 and Python 3. So there is really no reason to not
> > just use the print function and make Anaconda a bit more Python 3
> > friendly.
> I like the change, but I don't like the commit message and the
> explanation. 'print("something")' in Python 2 is not a function call.
> You just use an argument in extra parentheses in a statement. Please
> correct the commit message before pushing this change.
Good point, fixing locally for all the related patches.

> 
> --
> Vratislav Podzimek
> 
> Anaconda Rider | RHCE | Red Hat, Inc. | Brno - Czech Republic
> 
> 
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
> 


More information about the anaconda-patches mailing list