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

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



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


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