From: James Andrewartha Date: Sun, 25 Oct 2009 13:23:15 +0000 (+0800) Subject: remove python 2.6ism X-Git-Url: https://git.ucc.asn.au/?p=uccdoor.git;a=commitdiff_plain;h=0bce98bf71fe9e221df2a7ae238d7322ff23fd09;hp=3daa805b2cbeb88adf5130028399c052440de64e remove python 2.6ism --- diff --git a/client-xmpp.py b/client-xmpp.py index 78ce6e3..0f52bf0 100755 --- a/client-xmpp.py +++ b/client-xmpp.py @@ -44,7 +44,7 @@ class Door(object): 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