[openrtm-commit:03183] r941 - trunk/OpenRTM-aist-Python/OpenRTM_aist

openrtm @ openrtm.org openrtm @ openrtm.org
2018年 2月 25日 (日) 22:23:23 JST


Author: miyamoto
Date: 2018-02-25 22:23:22 +0900 (Sun, 25 Feb 2018)
New Revision: 941

Modified:
   trunk/OpenRTM-aist-Python/OpenRTM_aist/ManagerConfig.py
Log:
[compat, ->RELENG_1_2] fixed bug

Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/ManagerConfig.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/ManagerConfig.py	2018-02-08 01:13:55 UTC (rev 940)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/ManagerConfig.py	2018-02-25 13:23:22 UTC (rev 941)
@@ -278,7 +278,11 @@
       if opt == "-o":
         pos = arg.find(":")
         if pos > 0:
-          self._argprop.setProperty(arg[:pos],arg[pos+1:])
+          key = [arg[:pos]]
+          value = [arg[pos+1:]]
+          OpenRTM_aist.eraseTailBlank(key)
+          OpenRTM_aist.eraseTailBlank(value)
+          self._argprop.setProperty(key[0],value[0])
 
       if opt == "-p":
         num = [-1]



More information about the openrtm-commit mailing list