rel-eng/packages/spacewalk-pylint | 2 +-
spacewalk/pylint/spacewalk-pylint.rc | 3 +--
spacewalk/pylint/spacewalk-pylint.spec | 5 ++++-
3 files changed, 6 insertions(+), 4 deletions(-)
New commits:
commit 6c8041c38cba67d848aebcffdb4250714d6fbb7e
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Oct 24 09:27:45 2012 +0200
Automatic commit of package [spacewalk-pylint] release [0.8-1].
diff --git a/rel-eng/packages/spacewalk-pylint b/rel-eng/packages/spacewalk-pylint
index c3b1ac0..6051662 100644
--- a/rel-eng/packages/spacewalk-pylint
+++ b/rel-eng/packages/spacewalk-pylint
@@ -1 +1 @@
-0.7-1 spacewalk/pylint/
+0.8-1 spacewalk/pylint/
diff --git a/spacewalk/pylint/spacewalk-pylint.spec b/spacewalk/pylint/spacewalk-pylint.spec
index 7549b0c..0c102cc 100644
--- a/spacewalk/pylint/spacewalk-pylint.spec
+++ b/spacewalk/pylint/spacewalk-pylint.spec
@@ -1,5 +1,5 @@
Name: spacewalk-pylint
-Version: 0.7
+Version: 0.8
Release: 1%{?dist}
Summary: Pylint configuration for spacewalk python packages
@@ -49,6 +49,9 @@ rm -rf %{buildroot}
%doc LICENSE
%changelog
+* Wed Oct 24 2012 Michael Mraka <michael.mraka(a)redhat.com> 0.8-1
+- Revert "put W1201 on list of ignored pylint warnings"
+
* Fri Aug 24 2012 Miroslav Suchý <msuchy(a)redhat.com> 0.7-1
- put W1201 on list of ignored pylint warnings
commit cb1de8632c632a5a2df3148b3496e8ce995c8cac
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Wed Oct 24 09:25:49 2012 +0200
Revert "put W1201 on list of ignored pylint warnings"
This reverts commit 73f85b6a6f29b8e00d0dba197b0e1c0856483e5f.
it breaks RHEL6:
Traceback (most recent call last):
File "/usr/bin/pylint", line 4, in <module>
lint.Run(sys.argv[1:])
File "/usr/lib/python2.6/site-packages/pylint/lint.py", line 832, in __init__
linter.load_config_file()
File "/usr/lib/python2.6/site-packages/logilab/common/configuration.py", line 655, in load_config_file
provider.set_option(option, value, optdict=optdict)
File "/usr/lib/python2.6/site-packages/pylint/lint.py", line 297, in set_option
meth(_id)
File "/usr/lib/python2.6/site-packages/pylint/utils.py", line 170, in disable
msg = self.check_message_id(msgid)
File "/usr/lib/python2.6/site-packages/pylint/utils.py", line 227, in check_message_id
raise UnknownMessage('No such message id %s' % msgid)
pylint.utils.UnknownMessage: No such message id W1201
diff --git a/spacewalk/pylint/spacewalk-pylint.rc b/spacewalk/pylint/spacewalk-pylint.rc
index 7408778..990c8e6 100644
--- a/spacewalk/pylint/spacewalk-pylint.rc
+++ b/spacewalk/pylint/spacewalk-pylint.rc
@@ -12,7 +12,7 @@ persistent=no
[MESSAGES CONTROL]
# Disable the message(s) with the given id(s).
-disable=I0011,C0302,C0111,R0801,R0902,R0904,R0912,R0913,R0914,R0915,W0142,W0403,W0603,W1201
+disable=I0011,C0302,C0111,R0801,R0902,R0904,R0912,R0913,R0914,R0915,W0142,W0403,W0603
# list of disabled messages:
#I0011: 62: Locally disabling R0201
@@ -27,7 +27,6 @@ disable=I0011,C0302,C0111,R0801,R0902,R0904,R0912,R0913,R0914,R0915,W0142,W0403,
#W0142:228:MPM_Package.write: Used * or ** magic
#W0403: 28: Relative import 'rhnLog', should be 'backend.common.rhnLog'
#W0603: 72:initLOG: Using the global statement
-#W1201: 49,12:KatelloShell.history_file: Specify string format arguments as logging function parameters
[REPORTS]