[openrtm-commit:03142] r937 - trunk/OpenRTM-aist-Python/OpenRTM_aist
openrtm @ openrtm.org
openrtm @ openrtm.org
2018年 1月 24日 (水) 17:54:46 JST
Author: miyamoto
Date: 2018-01-24 17:54:46 +0900 (Wed, 24 Jan 2018)
New Revision: 937
Modified:
trunk/OpenRTM-aist-Python/OpenRTM_aist/Properties.py
trunk/OpenRTM-aist-Python/OpenRTM_aist/StringUtil.py
Log:
[compat, bugfix, ->RELENG_1_2] fixed bug
Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/Properties.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/Properties.py 2018-01-24 08:41:20 UTC (rev 936)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/Properties.py 2018-01-24 08:54:46 UTC (rev 937)
@@ -780,11 +780,11 @@
key = []
value = []
self.splitKeyValue(pline, key, value)
- key[0] = OpenRTM_aist.unescape(key)
+ key[0] = OpenRTM_aist.unescape(key[0])
OpenRTM_aist.eraseHeadBlank(key)
OpenRTM_aist.eraseTailBlank(key)
- value[0] = OpenRTM_aist.unescape(value)
+ value[0] = OpenRTM_aist.unescape(value[0])
OpenRTM_aist.eraseHeadBlank(value)
OpenRTM_aist.eraseTailBlank(value)
Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/StringUtil.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/StringUtil.py 2018-01-24 08:41:20 UTC (rev 936)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/StringUtil.py 2018-01-24 08:54:46 UTC (rev 937)
@@ -172,7 +172,7 @@
#
# @endif
def escape(_str):
- return for_each(_str[0], escape_functor())._str
+ return for_each(_str, escape_functor())._str
##
@@ -200,7 +200,7 @@
# "\"" -> " <br>
# @endif
def unescape(_str):
- return for_each(_str[0], unescape_functor())._str
+ return for_each(_str, unescape_functor())._str
##
More information about the openrtm-commit
mailing list