[totem] plugins: Pacify pylint on Python magic
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] plugins: Pacify pylint on Python magic
- Date: Tue, 5 Apr 2011 00:16:47 +0000 (UTC)
commit 82d02a1978c34339bc9bc514a041bb4266e08a74
Author: Philip Withnall <philip tecnocode co uk>
Date: Tue Apr 5 00:54:25 2011 +0100
plugins: Pacify pylint on Python magic
I don't understand this magic, but it's been working for a while, so pylint
can be quiet.
Helps: bgo#645739
src/plugins/iplayer/iplayer2.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/iplayer/iplayer2.py b/src/plugins/iplayer/iplayer2.py
index 3853141..5b71e69 100644
--- a/src/plugins/iplayer/iplayer2.py
+++ b/src/plugins/iplayer/iplayer2.py
@@ -939,7 +939,7 @@ class Feed (object):
"""
dictionary = self.__dict__.copy ()
dictionary.update (kwargs)
- return Feed (**dictionary)
+ return Feed (**dictionary) # pylint: disable-msg=W0142
def get (self, subfeed):
"""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]