[openrtm-commit:03094] r919 - trunk/OpenRTM-aist-Python/OpenRTM_aist
openrtm @ openrtm.org
openrtm @ openrtm.org
2018年 1月 22日 (月) 13:04:41 JST
Author: miyamoto
Date: 2018-01-22 13:04:41 +0900 (Mon, 22 Jan 2018)
New Revision: 919
Modified:
trunk/OpenRTM-aist-Python/OpenRTM_aist/DefaultConfiguration.py
trunk/OpenRTM-aist-Python/OpenRTM_aist/Manager.py
Log:
[compat,->RELENG_1_2] delete manager.refstring_path
Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/DefaultConfiguration.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/DefaultConfiguration.py 2018-01-19 08:21:54 UTC (rev 918)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/DefaultConfiguration.py 2018-01-22 04:04:41 UTC (rev 919)
@@ -44,7 +44,6 @@
"manager.name", "manager",
"manager.naming_formats", "%h.host_cxt/%n.mgr",
"manager.pid", "",
- "manager.refstring_path", "/var/log/rtcmanager.ref",
"os.name", "",
"os.release", "",
"os.version", "",
Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/Manager.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/Manager.py 2018-01-19 08:21:54 UTC (rev 918)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/Manager.py 2018-01-22 04:04:41 UTC (rev 919)
@@ -2324,21 +2324,9 @@
otherref = None
- try:
- otherref = open(self._config.getProperty("manager.refstring_path"),'r')
- #refstring = otherref.readline()
- otherref.close()
- except:
- try:
- reffile = open(self._config.getProperty("manager.refstring_path"),'w')
- except:
- self._rtcout.RTC_WARN(OpenRTM_aist.Logger.print_exception())
- return False
- else:
- reffile.write(self._orb.object_to_string(self._mgrservant.getObjRef()))
- reffile.close()
+
return True
More information about the openrtm-commit
mailing list