[Telepathy-commits] [telepathy-butterfly/master] Small style fixes.

Jonny Lamb jonny.lamb at collabora.co.uk
Tue Dec 23 12:11:06 PST 2008


Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
 butterfly/aliasing.py |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/butterfly/aliasing.py b/butterfly/aliasing.py
index 013d7f6..b717e0e 100644
--- a/butterfly/aliasing.py
+++ b/butterfly/aliasing.py
@@ -44,24 +44,21 @@ class ButterflyAliasing(
 
     def RequestAliases(self, contacts):
         logger.debug("Called RequestAliases")
-        return [self._get_alias(handle_id)\
-                    for handle_id in contacts]
+        return [self._get_alias(handle_id) for handle_id in contacts]
 
-
-    def GetAliases(self,contacts):
+    def GetAliases(self, contacts):
         logger.debug("Called GetAliases")
 
         result = {}
-        for contact in contacts :
+        for contact in contacts:
             result[contact] = self._get_alias(contact)
         return result
 
-
     def SetAliases(self, aliases):
         for handle_id, alias in aliases.iteritems():
             handle = self.handle(telepathy.HANDLE_TYPE_CONTACT, handle_id)
             if handle != ButterflyHandleFactory(self, 'self'):
-                if alias == handle.name: 
+                if alias == handle.name:
                     alias = u""
                 contact = handle.contact
                 if contact is None or \
-- 
1.5.6.5



More information about the Telepathy-commits mailing list