From ca2fb2a8b8ec82b9156265e07f43c937111d5b90 Mon Sep 17 00:00:00 2001 From: Kaliko Jack Date: Fri, 15 Nov 2013 20:15:37 +0100 Subject: [PATCH] Add some pylint exclusions --- README.txt | 4 ++-- musicpd.py | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.txt b/README.txt index 8077aa2..e6a2e31 100644 --- a/README.txt +++ b/README.txt @@ -6,7 +6,7 @@ Getting python-musicpd ---------------------- The latest release of python-musicpd can be found at -http://pypi.python.org/pypi/python-musicpd/. +http://pypi.python.org/pypi/python-musicpd. Getting the latest source code @@ -70,7 +70,7 @@ You can contact the original author by emailing J. Alexander Treuman . He can also be found idling in #mpd on irc.freenode.net as jat. -The current maintainer can be found on xmpp chat room kaliko.me@conf.azylum.org +The current maintainer can be found on xmpp chat room or you can contact him by email/xmpp . .. _Installing Python Modules: http://docs.python.org/3/install/ diff --git a/musicpd.py b/musicpd.py index f480acd..e281a92 100644 --- a/musicpd.py +++ b/musicpd.py @@ -15,6 +15,8 @@ # You should have received a copy of the GNU Lesser General Public License # along with python-musicpd. If not, see . +# pylint: disable=C0111 + import socket @@ -22,7 +24,7 @@ HELLO_PREFIX = "OK MPD " ERROR_PREFIX = "ACK " SUCCESS = "OK" NEXT = "list_OK" -VERSION = '0.4.0pr0' +VERSION = '0.4.0pr1' class MPDError(Exception): @@ -382,6 +384,7 @@ class MPDClient(object): self.mpd_version = line[len(HELLO_PREFIX):].strip() def _reset(self): + # pylint: disable=w0201 self.mpd_version = None self._iterating = False self._pending = [] -- 2.39.5