diff options
author | Lance Stout <lancestout@gmail.com> | 2011-10-07 18:13:50 -0400 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-10-07 18:13:50 -0400 |
commit | ccbef6b6968b4d50192b290404869e18d33c8414 (patch) | |
tree | 74e849da244cf4018833379d6e55ac11cc54b0d1 /sleekxmpp | |
parent | 3e384d3cfe3c27e6825a6c6827dda732974e9b50 (diff) | |
download | slixmpp-ccbef6b6968b4d50192b290404869e18d33c8414.tar.gz slixmpp-ccbef6b6968b4d50192b290404869e18d33c8414.tar.bz2 slixmpp-ccbef6b6968b4d50192b290404869e18d33c8414.tar.xz slixmpp-ccbef6b6968b4d50192b290404869e18d33c8414.zip |
Fix typos in the roster update method.
Diffstat (limited to 'sleekxmpp')
-rw-r--r-- | sleekxmpp/roster/single.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/roster/single.py b/sleekxmpp/roster/single.py index c2a73d34..c2c7497d 100644 --- a/sleekxmpp/roster/single.py +++ b/sleekxmpp/roster/single.py @@ -209,11 +209,11 @@ class RosterNode(object): Implies block=False. """ self[jid]['name'] = name - self[jid]['groups'] = group + self[jid]['groups'] = groups self[jid].save() if not self.xmpp.is_component: - iq = self.Iq() + iq = self.xmpp.Iq() iq['type'] = 'set' iq['roster']['items'] = {jid: {'name': name, 'subscription': subscription, |