Skip to content
Snippets Groups Projects
Commit a066ae0c authored by Manuela Kuhn's avatar Manuela Kuhn
Browse files

Misc

parent 2764b768
No related branches found
No related tags found
No related merge requests found
......@@ -530,6 +530,8 @@ class dataTransfer():
self.log.error("closing ZMQ Sockets...failed.")
self.log.info("Error was: " + str(e))
# if the context was created inside this class,
# it has to be destroyed also within the class
if not self.externalContext:
try:
if self.context:
......
......@@ -64,6 +64,13 @@ def isSupported():
return supportValue
def getTransportProtocol():
is platform.system() == "Linux":
return "ipc"
else:
return "tcp"
# This function is needed because configParser always needs a section name
# the used config file consists of key-value pairs only
# source: http://stackoverflow.com/questions/2819696/parsing-properties-file-in-python/2819788#2819788
......
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