2013/2/26 Bernardo Dal Seno <[email protected]>:
> On 21 February 2013 18:51, Michael Hanselmann <[email protected]> wrote:
>> +    (vc_master, vc_basedir) = self.GetVclusterSettings()
>> +    if not (bool(vc_master) ^ (not bool(vc_basedir))):
>
> Isn't this the same as "if bool(vc_master) != bool(vc_basedir)", which
> is simpler?

It is indeed. Thanks for the simplified version, I applied it!

Michael

Reply via email to