Re: [PATCH 2/3 master] Fix ifcfg logging message.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/14/2010 10:46 AM, Ales Kozumplik wrote:
On 10/14/2010 10:02 AM, Radek Vykydal wrote:

+ (not self._dirty and " not needed" or "")))

I think you could use the cool python syntax instead:

("" if self._dirty else " not needed")


Nice, I will.

Radek

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux