From 0bce98bf71fe9e221df2a7ae238d7322ff23fd09 Mon Sep 17 00:00:00 2001 From: James Andrewartha Date: Sun, 25 Oct 2009 21:23:15 +0800 Subject: [PATCH] remove python 2.6ism --- client-xmpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1