diff options
author | Endi S. Dewata <edewata@redhat.com> | 2015-01-30 15:49:27 -0500 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2015-02-05 11:32:20 -0500 |
commit | dfe55982eb50750fc1e65bce312d884b1604f0b4 (patch) | |
tree | 411d1316c3b4ff78e3a349bb4923bd0e2aae03c7 /base/common/sbin | |
parent | 8fc5acb72ac9fdbc70b8a6e7242890f9dbeccf56 (diff) | |
download | pki-dfe55982eb50750fc1e65bce312d884b1604f0b4.tar.gz pki-dfe55982eb50750fc1e65bce312d884b1604f0b4.tar.xz pki-dfe55982eb50750fc1e65bce312d884b1604f0b4.zip |
Fixed pylint report.
Previously pylint report was saved it into a file which may not be
accessible on a build system. The pylint-build-scan.sh has been
changed to display the report so it will appear in the build log.
The pylint configuration has also been modified to disable C and R
messages by default. This way when other errors or warnings occur
the build will fail without having to check for specific codes.
Some Python codes have been modified to reduce the number of pylint
warnings.
https://fedorahosted.org/pki/ticket/703
Diffstat (limited to 'base/common/sbin')
-rwxr-xr-x | base/common/sbin/pki-upgrade | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/base/common/sbin/pki-upgrade b/base/common/sbin/pki-upgrade index a985f76f3..0fbfde3d6 100755 --- a/base/common/sbin/pki-upgrade +++ b/base/common/sbin/pki-upgrade @@ -26,7 +26,7 @@ import sys import pki import pki.upgrade -# pylint: disable-msg=W0613 +# pylint: disable=W0613 def interrupt_handler(event, frame): print print @@ -135,9 +135,9 @@ def main(argv): try: upgrader = pki.upgrade.PKIUpgrader( - version = scriptlet_version, - index = scriptlet_index, - silent = silent) + version=scriptlet_version, + index=scriptlet_index, + silent=silent) if status: upgrader.status() |