diff src/browser/sat_browser/panels.py @ 482:437eefa53a01

misc: remove some pylint errors and warnings
author souliane <souliane@mailoo.org>
date Sun, 15 Jun 2014 18:16:24 +0200
parents 992b900ab876
children 587fe75d1b16
line wrap: on
line diff
--- a/src/browser/sat_browser/panels.py	Sun Jun 15 17:52:08 2014 +0200
+++ b/src/browser/sat_browser/panels.py	Sun Jun 15 18:16:24 2014 +0200
@@ -978,14 +978,14 @@
                 self._accepted_groups.append(_group)
         self._accepted_groups.sort()
 
-    def isJidAccepted(self, jid):
+    def isJidAccepted(self, jid_s):
         """Tell if a jid is actepted and shown in this panel
-        @param jid: jid
+        @param jid_s: jid
         @return: True if the jid is accepted"""
         if self.accept_all():
             return True
         for group in self._accepted_groups:
-            if self.host.contact_panel.isContactInGroup(group, jid):
+            if self.host.contact_panel.isContactInGroup(group, jid_s):
                 return True
         return False