---
 framework/subsystems/ophoned/headset.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/framework/subsystems/ophoned/headset.py 
b/framework/subsystems/ophoned/headset.py
index e9f07ca..7ff5f6d 100644
--- a/framework/subsystems/ophoned/headset.py
+++ b/framework/subsystems/ophoned/headset.py
@@ -100,7 +100,7 @@ class HeadsetManager( object ):
                 self._matchAnswerRequested = 
self.bluez_device_headset.connect_to_signal(
                     'AnswerRequested', self._onAnswerRequested
                 )
-        except dbus.exceptions.DBusException as e:
+        except dbus.exceptions.DBusException, e:
             if e.get_dbus_name() == "org.bluez.Error.AlreadyConnected":
                 pass
             else:
@@ -109,7 +109,7 @@ class HeadsetManager( object ):
     def _startBT( self ):
         try:
             self.bluez_device_headset.Play()
-        except dbus.exceptions.DBusException as e:
+        except dbus.exceptions.DBusException, e:
             if e.get_dbus_name() == "org.bluez.Error.AlreadyConnected":
                 pass
             else:
-- 
1.6.1.3


_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to