From d92aa05b5c18806ab5addc947eeedaaf4d51500e Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Tue, 19 Jun 2012 01:29:48 -0700 Subject: PEP8 formatting updates. --- sleekxmpp/roster/item.py | 2 +- sleekxmpp/roster/multi.py | 2 +- sleekxmpp/roster/single.py | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'sleekxmpp/roster') 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. -- cgit v1.2.3