summaryrefslogtreecommitdiff
path: root/sleekxmpp/roster
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/roster')
-rw-r--r--sleekxmpp/roster/item.py2
-rw-r--r--sleekxmpp/roster/multi.py2
-rw-r--r--sleekxmpp/roster/single.py6
3 files changed, 5 insertions, 5 deletions
diff --git a/sleekxmpp/roster/item.py b/sleekxmpp/roster/item.py
index 0acb5537..6e9c0d01 100644
--- a/sleekxmpp/roster/item.py
+++ b/sleekxmpp/roster/item.py
@@ -307,7 +307,7 @@ class RosterItem(object):
p['from'] = self.owner
p.send()
- def send_presence(self, **kwargs):
+ def send_presence(self, **kwargs):
"""
Create, initialize, and send a Presence stanza.
diff --git a/sleekxmpp/roster/multi.py b/sleekxmpp/roster/multi.py
index dcd62e70..9a04aebb 100644
--- a/sleekxmpp/roster/multi.py
+++ b/sleekxmpp/roster/multi.py
@@ -150,7 +150,7 @@ class Roster(object):
for node in self:
self[node].reset()
- def send_presence(self, **kwargs):
+ def send_presence(self, **kwargs):
"""
Create, initialize, and send a Presence stanza.
diff --git a/sleekxmpp/roster/single.py b/sleekxmpp/roster/single.py
index d43a5041..f8c9c781 100644
--- a/sleekxmpp/roster/single.py
+++ b/sleekxmpp/roster/single.py
@@ -68,7 +68,7 @@ class RosterNode(object):
self._version = self.db.version(self.jid)
for jid in self.db.entries(self.jid):
self.add(jid)
-
+
@property
def version(self):
"""Retrieve the roster's version ID."""
@@ -149,7 +149,7 @@ class RosterNode(object):
self.db = db
existing_entries = set(self._jids)
new_entries = set(self.db.entries(self.jid, {}))
-
+
for jid in existing_entries:
self._jids[jid].set_backend(db, save)
for jid in new_entries - existing_entries:
@@ -294,7 +294,7 @@ class RosterNode(object):
for jid in self:
self[jid].reset()
- def send_presence(self, **kwargs):
+ def send_presence(self, **kwargs):
"""
Create, initialize, and send a Presence stanza.