[openrtm-commit:03038] r905 - trunk/OpenRTM-aist-Python/OpenRTM_aist

openrtm @ openrtm.org openrtm @ openrtm.org
2017年 12月 20日 (水) 17:36:37 JST


Author: t-katami
Date: 2017-12-20 17:36:37 +0900 (Wed, 20 Dec 2017)
New Revision: 905

Modified:
   trunk/OpenRTM-aist-Python/OpenRTM_aist/ModuleManager.py
Log:
[compat,bugfix,->RELENG_1_2] Fixed the bug.

Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/ModuleManager.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/ModuleManager.py	2017-12-18 03:02:44 UTC (rev 904)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/ModuleManager.py	2017-12-20 08:36:37 UTC (rev 905)
@@ -626,7 +626,7 @@
         cmd = cmd + " \""+mod_+"\""
         
         try:
-          ret = OpenRTM_aist.popen(cmd).split("\r\n")
+          ret = OpenRTM_aist.popen(cmd).split(os.linesep)
           count = 0
           for r in ret:
             pos = r.find(":")



More information about the openrtm-commit mailing list