[openrtm-commit:01580] r2647 - trunk/OpenRTM-aist/utils/rtc-template
openrtm @ openrtm.org
openrtm @ openrtm.org
2015年 7月 10日 (金) 22:07:33 JST
Author: n-ando
Date: 2015-07-10 22:07:33 +0900 (Fri, 10 Jul 2015)
New Revision: 2647
Modified:
trunk/OpenRTM-aist/utils/rtc-template/rtc-template
Log:
[compat,tool] Directory name with period "." causes odd action in rtc-template. Fixed. refs #3088
Modified: trunk/OpenRTM-aist/utils/rtc-template/rtc-template
===================================================================
--- trunk/OpenRTM-aist/utils/rtc-template/rtc-template 2015-06-29 02:04:08 UTC (rev 2646)
+++ trunk/OpenRTM-aist/utils/rtc-template/rtc-template 2015-07-10 13:07:33 UTC (rev 2647)
@@ -720,12 +720,12 @@
for f in svcidls.keys():
idl = {}
idl["idl_fname"] = f
- idl["idl_basename"] = f.split(".")[0]
+ idl["idl_basename"] = os.path.splitext(f)[0]
dict["service_idl"].append(idl)
for f in cnsidls.keys():
idl = {}
idl["idl_fname"] = f
- idl["idl_basename"] = f.split(".")[0]
+ idl["idl_basename"] = os.path.splitext(f)[0]
dict["consumer_idl"].append(idl)
return
More information about the openrtm-commit
mailing list