[gnome-music/wip/mschraal/gnome-3-30-ci-fixes] build: Fix or ignore CI warnings
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gnome-3-30-ci-fixes] build: Fix or ignore CI warnings
- Date: Sat, 1 Dec 2018 13:29:55 +0000 (UTC)
commit 01472dcf4f6895f6fb4fbc1b8c2b0d8d7590463e
Author: Marinus Schraal <mschraal gnome org>
Date: Sat Dec 1 14:27:39 2018 +0100
build: Fix or ignore CI warnings
Due to an flake8 update in the image, CI started to fail. Fix or ignore
errors in the stable branch.
.gitlab-ci.yml | 2 +-
gnomemusic/__init__.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6d5c8572..0484e7c1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -63,4 +63,4 @@ flake8:
stage: check
script:
- dnf install -y python3-flake8
- - flake8 --ignore E402,W503 --show-source --exclude=mpris.py,grilo.py,query.py,window.py gnomemusic/
+ - flake8 --ignore E402,W503,W504 --show-source --exclude=mpris.py,grilo.py,query.py,window.py gnomemusic/
diff --git a/gnomemusic/__init__.py b/gnomemusic/__init__.py
index 3278b5e7..261ea173 100644
--- a/gnomemusic/__init__.py
+++ b/gnomemusic/__init__.py
@@ -84,7 +84,7 @@ class TrackerWrapper:
self.tracker = Tracker.SparqlConnection.get(None)
except Exception as e:
from sys import exit
- logger.error("Cannot connect to tracker, error '%s'\Exiting",
+ logger.error("Cannot connect to tracker, error '%s'\nExiting",
str(e))
exit(1)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]