forked from openlp/openlp
This is a mirror of the main OpenLP repository at https://gitlab.com/openlp/openlp
f833150003
The method is allowed to return None, so calling functions should handle that. Raising an error is very rude behavior and the output just said that the input was invalid with no real clue as to what is wrong. Now None is returned without causing too much hassle, and a proper error is logged mentioning what exactly caused the error. The test case was updated. This is sort of related to https://bugs.launchpad.net/openlp/+bug/1786601 in that this would have been nice to actually know what went wrong and failback to None. bzr-revno: 2829 |
||
---|---|---|
documentation | ||
openlp | ||
resources | ||
scripts | ||
tests | ||
.bzrignore | ||
CHANGELOG.rst | ||
copyright.txt | ||
LICENSE | ||
MANIFEST.in | ||
nose2.cfg | ||
openlp.py | ||
pylintrc | ||
README.txt | ||
setup.cfg | ||
setup.py |
OpenLP ====== You're probably reading this because you've just downloaded the source code for OpenLP. If you are looking for the installer file, please go to the download page on the web site:: http://openlp.org/download If you're looking for how to contribute to OpenLP, then please look at the OpenLP wiki:: http://wiki.openlp.org/ Thanks for downloading OpenLP!