Skip to content
Snippets Groups Projects
Commit c2862e8a authored by Jan Rinze Peterzon's avatar Jan Rinze Peterzon
Browse files

Task #8571: Remove debug messages and changed t_RPC to use topic exchange.

parent e91e0c05
No related branches found
No related tags found
No related merge requests found
......@@ -192,14 +192,11 @@ class LofarMessage(object):
:raises: AttributeError
"""
print("Trying to set attribute %s with %s" %(name,value))
if name != 'properties':
if name in _QPID_MESSAGE_FIELDS:
self.__dict__['_qpid_msg'].__dict__[name] = value
print("set in native QPID")
else:
self.__dict__['_qpid_msg'].__dict__['properties'][name] = value
print("set in properties map")
else:
raise AttributeError("%r object has no attribute %r" %
(self.__class__.__name__, name))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment