Comment 1 for bug 660363

Revision history for this message
daveinthesky (davvid) wrote :

I found the issue. PyQt4 <= 4.7.3 would report bool(QLayout()) == True while the new 4.7.4 release treats bool(QLayout()) as False.

This is a behavior change, but it's better for the code to be explicit and check "if foo is None:" instead of checking "if foo:", so it's likely that it was intentional.

In any case, git-cola 1.4.2.5 works around this and is no longer affected.