From: Tony Mack Date: Fri, 19 Jan 2007 17:49:02 +0000 (+0000) Subject: - log object_type X-Git-Tag: pycurl-7_13_1~66 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=d959fffe2878262ba0525225f2241b7c6004b3ea;p=plcapi.git - log object_type --- diff --git a/PLC/Method.py b/PLC/Method.py index e2250ea..70b8b21 100644 --- a/PLC/Method.py +++ b/PLC/Method.py @@ -4,7 +4,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: Method.py,v 1.20 2006/12/20 14:08:40 tmack Exp $ +# $Id: Method.py,v 1.21 2007/01/16 17:04:08 mlhuang Exp $ # import xmlrpclib @@ -147,6 +147,9 @@ class Method: if hasattr(self, 'message'): event['message'] = self.message + if hasattr(self, 'object_type'): + event['object_type'] = self.object_type + # Commit event.sync()