aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml6
-rw-r--r--sos/report/plugins/__init__.py4
2 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index eaca2d06..d1e986d9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,7 +4,7 @@ jobs:
os: linux
dist: focal
language: shell
- install: sudo apt-get update; sudo apt install pycodestyle python3-pexpect;
+ install: sudo apt-get update; sudo apt install flake8 python3-pexpect;
script:
- "flake8 sos tests bin/*"
- "sudo ./tests/simple.sh"
@@ -12,7 +12,7 @@ jobs:
os: linux
dist: bionic
language: shell
- install: sudo apt-get update; sudo apt install pycodestyle python3-pexpect;
+ install: sudo apt-get update; sudo apt install python3-pexpect;
script: "sudo ./tests/simple.sh"
- name: "18.04 native run for arm64"
os: linux
@@ -62,4 +62,4 @@ notifications:
- "us.freenode.net#sosreport"
on_success: change
git:
- depth: 5
+ depth: 20
diff --git a/sos/report/plugins/__init__.py b/sos/report/plugins/__init__.py
index 3650a60a..71448795 100644
--- a/sos/report/plugins/__init__.py
+++ b/sos/report/plugins/__init__.py
@@ -2021,8 +2021,8 @@ class SCLPlugin(RedHatPlugin):
prefix = open('/etc/scl/prefixes/%s' % scl, 'r').read()\
.rstrip('\n')
except Exception as e:
- self._log_error("Error %s to find prefix for SCL %s, using %s"
- % (e, scl, prefix))
+ self._log_error("Failed to find prefix for SCL %s using %s: %s"
+ % (scl, prefix, e))
# expand PATH by equivalent prefixes under the SCL tree
path = os.environ["PATH"]