This is a mirror of the main OpenLP repository at https://gitlab.com/openlp/openlp
Go to file
simhnna@gmail.com f833150003 Instead of raising an error when converting paths, return None and log an error.
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
2018-08-18 22:16:14 +02:00
documentation PJlink2 update K 2017-09-22 05:03:28 -07:00
openlp Log an error instead of debug output 2018-08-12 13:14:47 +02:00
resources Conversion finished 2018-06-24 07:56:50 +01:00
scripts Fix some pylint failures and add qtawesome to appveyor install. 2018-08-05 22:28:01 +02:00
tests Return None instead of raising an error when converting path objects 2018-08-12 13:12:03 +02:00
.bzrignore fix bzrignore 2018-06-26 18:10:34 +01:00
CHANGELOG.rst Fix a problem with loading Qt's translation files, bug #1676163 2017-03-27 17:36:54 -07:00
copyright.txt End of 2017 2017-12-29 09:15:48 +00:00
LICENSE
MANIFEST.in Fix for packaging 2014-05-05 19:31:45 +02:00
nose2.cfg Add some more tests 2017-11-15 22:03:19 -07:00
openlp.py End of 2017 2017-12-29 09:15:48 +00:00
pylintrc Fix various issues as suggested by pylint 2016-07-05 22:31:29 +02:00
README.txt This is no longer 2.0 2014-05-03 17:28:31 +02:00
setup.cfg Fixes for pycodestyle 2018-07-02 22:38:47 +02:00
setup.py End of 2017 2017-12-29 09:15:48 +00:00

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!