[telepathy-butterfly/master] Added some brackets

Louis-Francis Ratté-Boulianne louis-francis.ratte-boulianne at collabora.co.uk
Thu Sep 10 06:45:34 PDT 2009


---
 butterfly/connection.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/butterfly/connection.py b/butterfly/connection.py
index ced5f26..0c8ad97 100644
--- a/butterfly/connection.py
+++ b/butterfly/connection.py
@@ -297,7 +297,7 @@ class ButterflyConnection(telepathy.server.Connection,
 
     # papyon.event.InviteEventInterface
     def on_invite_webcam(self, session, producer):
-        direction = producer and "send" or "receive"
+        direction = (producer and "send") or "receive"
         logger.debug("Invitation to %s webcam" % direction)
 
         handle = ButterflyHandleFactory(self, 'contact', session.peer.account,
-- 
1.5.6.5



More information about the telepathy-commits mailing list