diff --git a/openlp/core/display/window.py b/openlp/core/display/window.py index c0ef2a1ef..35442b5ed 100644 --- a/openlp/core/display/window.py +++ b/openlp/core/display/window.py @@ -29,7 +29,7 @@ import copy from PyQt5 import QtCore, QtWebChannel, QtWidgets -from openlp.core.common.path import Path, path_to_str +from openlp.core.common.path import path_to_str from openlp.core.common.settings import Settings from openlp.core.common.registry import Registry from openlp.core.common.applocation import AppLocation diff --git a/tests/utils/test_bzr_tags.py b/tests/utils/test_bzr_tags.py index cd057ada4..66b159c96 100644 --- a/tests/utils/test_bzr_tags.py +++ b/tests/utils/test_bzr_tags.py @@ -44,7 +44,7 @@ class TestBzrTags(TestCase): # WHEN getting the branches tags try: bzr = Popen(('bzr', 'tags', '--directory=' + path), stdout=PIPE) - except: + except Exception: raise SkipTest('bzr is not installed') std_out = bzr.communicate()[0] count = len(TAGS1)