From b6a36f2324db7ae07a95ff52d6e5b60a50e94840 Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Thu, 7 Mar 2019 20:23:04 +0100 Subject: [PATCH] pep8 fixes --- openlp/core/display/window.py | 2 +- tests/utils/test_bzr_tags.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)