diff options
author | Christian Heimes <cheimes@redhat.com> | 2015-07-15 09:56:09 +0200 |
---|---|---|
committer | Christian Heimes <cheimes@redhat.com> | 2015-08-10 11:58:43 +0200 |
commit | e0af593277a26192992f939f24e6df3a0ec959f6 (patch) | |
tree | 3cedda2da91233565e5c318d919ca8ad7efbf722 /specs | |
parent | 3a1fd9c92560a79e3f01e321cbed9b7deb837134 (diff) | |
download | pki-e0af593277a26192992f939f24e6df3a0ec959f6.tar.gz pki-e0af593277a26192992f939f24e6df3a0ec959f6.tar.xz pki-e0af593277a26192992f939f24e6df3a0ec959f6.zip |
Rewrite pylint-build-scan as improved Python script
The upgrade scripts don't have a .py file extension. For this reason
they are not picked up by pylint in tox.ini. Tox doesn't support shell
scripting. In order to check all files I rewrote the
pylint-build-scan.sh script as Python script.
Diffstat (limited to 'specs')
-rw-r--r-- | specs/pki-core.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/specs/pki-core.spec b/specs/pki-core.spec index f7dba32cd..a872b1b6e 100644 --- a/specs/pki-core.spec +++ b/specs/pki-core.spec @@ -714,7 +714,7 @@ done %if ! 0%{?rhel} # Scanning the python code with pylint. -sh ../pylint-build-scan.sh %{buildroot} `pwd` +python2 ../pylint-build-scan.py rpm --prefix %{buildroot} if [ $? -ne 0 ]; then echo "pylint failed. RC: $?" exit 1 |