openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #00055
Re: [Merge] lp:~trb143/openlp/servicing into lp:openlp
Review: Approve
+ if type(icon) is QtGui.QIcon:
+ elif type(icon) is types.StringType or type(icon) is
types.UnicodeType:
I think the Right Way is isinstance(). Also, "basestring" matches both str and
unicode strings.
if isinstance(icon, QtGui.QIcon):
elif isinstance(icon, basestring):
review approve
--
https://code.launchpad.net/~trb143/openlp/servicing/+merge/6134
Your team openlp.org Core is subscribed to branch lp:openlp.
References