X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethod.py;h=70b8b21496f46a394705332d2e3ca78631e4e7b4;hb=d959fffe2878262ba0525225f2241b7c6004b3ea;hp=e2250ea84bca3247e045c0b1bd87a1c84dfaee2a;hpb=0c78b7a81362496f2c3199e0bf504b6d8e9a50a5;p=plcapi.git 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()