remove python 2.6ism
authorJames Andrewartha <[email protected]>
Sun, 25 Oct 2009 13:23:15 +0000 (21:23 +0800)
committerJames Andrewartha <[email protected]>
Sun, 25 Oct 2009 13:23:15 +0000 (21:23 +0800)
client-xmpp.py

index 78ce6e3..0f52bf0 100755 (executable)
@@ -44,7 +44,7 @@ class Door(object):
         
         try:
             new_state = self.remoteobj.get_status(dbus_interface='au.asn.ucc.DoorInterface')
         
         try:
             new_state = self.remoteobj.get_status(dbus_interface='au.asn.ucc.DoorInterface')
-        except Exception as e:
+        except Exception, e:
             syslog.syslog(142, "get_status failed: %s" % e)
             pass
         
             syslog.syslog(142, "get_status failed: %s" % e)
             pass
         

UCC git Repository :: git.ucc.asn.au