openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #10671
Re: [Merge] lp:~karan85/openlp/ewimport-fix into lp:openlp
Review: Approve
if len(verse) == 0:
continue
In Python, None, '', 0 and [] (an empty list) all equate to False, so you could also simply do this:
if not verse:
continue
What you have typed is perfectly legitimate though.
--
https://code.launchpad.net/~karan85/openlp/ewimport-fix/+merge/66885
Your team OpenLP Core is subscribed to branch lp:openlp.
References