diff options
author | mathieui <mathieui@mathieui.net> | 2017-11-12 15:24:29 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2017-11-12 15:24:29 +0100 |
commit | 3db74303ea49198ecebee135994d72e4506cc0d8 (patch) | |
tree | fdcaed408560cc3f9783fa471dbe71d685c8a7b0 | |
parent | 0634add327a3e57327ba9db153b2df68b39b8dfd (diff) | |
download | poezio-3db74303ea49198ecebee135994d72e4506cc0d8.tar.gz poezio-3db74303ea49198ecebee135994d72e4506cc0d8.tar.bz2 poezio-3db74303ea49198ecebee135994d72e4506cc0d8.tar.xz poezio-3db74303ea49198ecebee135994d72e4506cc0d8.zip |
Remove unused variables
-rw-r--r-- | poezio/tabs/muctab.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py index 94b521ba..a548aab5 100644 --- a/poezio/tabs/muctab.py +++ b/poezio/tabs/muctab.py @@ -201,7 +201,7 @@ class MucTab(ChatTab): ', '.join(valid_affiliations), 'Error') if nick_or_jid in [user.nick for user in self.users]: - res = muc.set_user_affiliation( + muc.set_user_affiliation( self.core.xmpp, self.name, affiliation, @@ -209,7 +209,7 @@ class MucTab(ChatTab): callback=callback, reason=reason) else: - res = muc.set_user_affiliation( + muc.set_user_affiliation( self.core.xmpp, self.name, affiliation, @@ -463,7 +463,7 @@ class MucTab(ChatTab): """ Presence received while we are not in the room (before code=110) """ - from_nick, from_room, affiliation, show, status, role, jid, typ = dissect_presence( + from_nick, _, affiliation, show, status, role, jid, typ = dissect_presence( presence) user_color = self.search_for_color(from_nick) new_user = User(from_nick, affiliation, show, status, role, jid, |