[openrtm-commit:03108] r926 - trunk/OpenRTM-aist-Python/OpenRTM_aist

openrtm @ openrtm.org openrtm @ openrtm.org
2018年 1月 23日 (火) 12:15:20 JST


Author: miyamoto
Date: 2018-01-23 12:15:20 +0900 (Tue, 23 Jan 2018)
New Revision: 926

Modified:
   trunk/OpenRTM-aist-Python/OpenRTM_aist/ManagerConfig.py
   trunk/OpenRTM-aist-Python/OpenRTM_aist/StringUtil.py
Log:
[compat, bugfix, ->RELENG_1_2] refs #4424

Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/ManagerConfig.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/ManagerConfig.py	2018-01-23 02:48:34 UTC (rev 925)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/ManagerConfig.py	2018-01-23 03:15:20 UTC (rev 926)
@@ -90,7 +90,7 @@
   if sys.platform == 'win32':
 
     config_file_path = ["./rtc.conf",
-                        "\%RTM_ROOT\%/bin/\%RTM_VC_VERSION\%/rtc.conf",
+                        "%RTM_ROOT%/bin/%RTM_VC_VERSION%/rtc.conf",
                         "C:/Python"+str(sys.version_info[0])+str(sys.version_info[1])+"/rtc.conf",
                         None]
   else:

Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/StringUtil.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/StringUtil.py	2018-01-23 02:48:34 UTC (rev 925)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/StringUtil.py	2018-01-23 03:15:20 UTC (rev 926)
@@ -722,7 +722,7 @@
 #
 # @endif
 def replaceEnv(_str):
-    tmp = _str.split("\%")
+    tmp = _str.split("%")
     if len(tmp) < 3:
         return _str
     ret = []



More information about the openrtm-commit mailing list