[openrtm-commit:03320] r974 - trunk/OpenRTM-aist-Python/OpenRTM_aist
openrtm @ openrtm.org
openrtm @ openrtm.org
2018年 3月 29日 (木) 11:19:44 JST
Author: miyamoto
Date: 2018-03-29 11:19:44 +0900 (Thu, 29 Mar 2018)
New Revision: 974
Modified:
trunk/OpenRTM-aist-Python/OpenRTM_aist/Manager.py
Log:
[compat,bugfix,->RELENG_1_2] fixed bug.
Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/Manager.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/Manager.py 2018-03-28 06:40:36 UTC (rev 973)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/Manager.py 2018-03-29 02:19:44 UTC (rev 974)
@@ -1975,10 +1975,13 @@
if not OpenRTM_aist.toBool(self._config.getProperty("naming.enable"), "YES", "NO", True):
return True
- meths = OpenRTM_aist.split(self._config.getProperty("naming.type"),",")
+ #meths = OpenRTM_aist.split(self._config.getProperty("naming.type"),",")
+ meths = [s.strip() for s in self._config.getProperty("naming.type").split(",")]
+ print(meths)
for meth in meths:
- names = OpenRTM_aist.split(self._config.getProperty(meth+".nameservers"), ",")
+ #names = OpenRTM_aist.split(self._config.getProperty(meth+".nameservers"), ",")
+ names = [s.strip() for s in self._config.getProperty(meth+".nameservers").split(",")]
for name in names:
self._rtcout.RTC_TRACE("Register Naming Server: %s/%s", (meth, name))
self._namingManager.registerNameServer(meth,name)
openrtm-commit メーリングリストの案内