[openrtm-commit:01762] r662 - trunk/OpenRTM-aist-Python/OpenRTM_aist/utils/rtm-naming

openrtm @ openrtm.org openrtm @ openrtm.org
2016年 2月 26日 (金) 16:20:41 JST


Author: kawauchi
Date: 2016-02-26 16:20:41 +0900 (Fri, 26 Feb 2016)
New Revision: 662

Modified:
   trunk/OpenRTM-aist-Python/OpenRTM_aist/utils/rtm-naming/rtm-naming.py
Log:
[compat,->RELENG_1_1] rtm-naming has been supported omniORB4.2. refs #3461

Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/utils/rtm-naming/rtm-naming.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/utils/rtm-naming/rtm-naming.py	2016-02-25 15:25:26 UTC (rev 661)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/utils/rtm-naming/rtm-naming.py	2016-02-26 07:20:41 UTC (rev 662)
@@ -91,6 +91,12 @@
     if os.path.exists(bak_file):
         del_file(bak_file)
 
+    dat_fname = "omninames-" + hostname + ".dat"
+    dat_file = os.path.join(log_path, dat_fname)
+
+    if os.path.exists(dat_file):
+        del_file(dat_file)
+
     if port == "":
         port = default_port
 



More information about the openrtm-commit mailing list