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

Re: [PATCH 2/5] Store immutable info into the device for easier access



Hi,

On 05/19/2010 04:13 PM, Ales Kozumplik wrote:
On 05/19/2010 01:57 PM, Hans de Goede wrote:

+ if device.immutable:
+ return device.immutable

return False

In theory, you could just do:

return device.immutable


Well that would return None and thus not always make the
function return a boolean. I know dlehman wants functions like
this one to always return a boolean, so ...

Regards,

Hans


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