summaryrefslogtreecommitdiff
path: root/sleekxmpp/roster
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-06-19 01:29:48 -0700
committerLance Stout <lancestout@gmail.com>2012-06-19 01:29:48 -0700
commitd92aa05b5c18806ab5addc947eeedaaf4d51500e (patch)
treebdb64fa72894b6689b38fa6e96a29e15548422fd /sleekxmpp/roster
parentf7a74d960edb3ced00423c081ec74e9e91f3aea2 (diff)
downloadslixmpp-d92aa05b5c18806ab5addc947eeedaaf4d51500e.tar.gz
slixmpp-d92aa05b5c18806ab5addc947eeedaaf4d51500e.tar.bz2
slixmpp-d92aa05b5c18806ab5addc947eeedaaf4d51500e.tar.xz
slixmpp-d92aa05b5c18806ab5addc947eeedaaf4d51500e.zip
PEP8 formatting updates.
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.