X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FAccessor.py;h=e8a69f570daf50896e2b9e32e48357698ab6e672;hb=36de11f1c6e35ae81eb4774a395f3507cd44feb3;hp=e02d29eb6c915919d8434dffb39e3bd06c98d9f2;hpb=9b3801556c6c6df3963a7dd836131813e8e533fb;p=plcapi.git diff --git a/PLC/Accessor.py b/PLC/Accessor.py index e02d29e..e8a69f5 100644 --- a/PLC/Accessor.py +++ b/PLC/Accessor.py @@ -74,7 +74,7 @@ This is implemented as a singleton, so we can cache results over time""" tag_type.add_role(role_obj) except: # xxx todo find a more appropriate way of notifying this - print "Accessor.locate_or_create_tag: Could not add role %r to tag_type %s"%(role,tagname) + print >> log, "Accessor.locate_or_create_tag: Could not add role %r to tag_type %s"%(role,tagname) self.set_cache(tagname,tag_type) return tag_type