pep8 fixes

This commit is contained in:
Tomas Groth 2019-03-07 20:23:04 +01:00
parent d7e4798b96
commit b6a36f2324
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)