> Whether they are related or not is completely beside the point. The point is
> that if any of the if-statements evaluate to false, your variable will not
> exist, and will cause a traceback. It's about writing code that doesn't
> contain potential bugs.
Thanks für explaining. I thought about that before the first merge proposal and 
at this point I thought my way was save enough and try to save a line. But 
you're wright there still stays a little possibility for a bug.
Try to make it better next time.
-- 
https://code.launchpad.net/~orangeshirt/openlp/bibles_fixes/+merge/103167
Your team OpenLP Core is subscribed to branch lp:openlp.

_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to