whitespace cleanups
This commit is contained in:
parent
81687c9402
commit
9b1e2c1462
|
@ -109,7 +109,6 @@ class BuddyList(dict):
|
||||||
try: del self[number]
|
try: del self[number]
|
||||||
except KeyError: self.logger.warn("non-existing buddy really didn't exist: %s" % number)
|
except KeyError: self.logger.warn("non-existing buddy really didn't exist: %s" % number)
|
||||||
|
|
||||||
|
|
||||||
def onStatus(self, contacts):
|
def onStatus(self, contacts):
|
||||||
self.logger.debug("%s received statuses of: %s" % (self.user, contacts))
|
self.logger.debug("%s received statuses of: %s" % (self.user, contacts))
|
||||||
for number, (status, time) in contacts.iteritems():
|
for number, (status, time) in contacts.iteritems():
|
||||||
|
@ -121,7 +120,6 @@ class BuddyList(dict):
|
||||||
buddy.statusMsg = utils.softToUni(status)
|
buddy.statusMsg = utils.softToUni(status)
|
||||||
self.updateSpectrum(buddy)
|
self.updateSpectrum(buddy)
|
||||||
|
|
||||||
|
|
||||||
def load(self, buddies):
|
def load(self, buddies):
|
||||||
if self.session.loggedIn:
|
if self.session.loggedIn:
|
||||||
self._load(buddies)
|
self._load(buddies)
|
||||||
|
@ -165,7 +163,6 @@ class BuddyList(dict):
|
||||||
self.backend.handleBuddyChanged(self.user, buddy.number, buddy.nick,
|
self.backend.handleBuddyChanged(self.user, buddy.number, buddy.nick,
|
||||||
buddy.groups, status, statusMessage=statusmsg, iconHash=iconHash)
|
buddy.groups, status, statusMessage=statusmsg, iconHash=iconHash)
|
||||||
|
|
||||||
|
|
||||||
def remove(self, number):
|
def remove(self, number):
|
||||||
try:
|
try:
|
||||||
buddy = self[number]
|
buddy = self[number]
|
||||||
|
|
Loading…
Reference in a new issue