[openrtm-commit:02202] r773 - trunk/OpenRTM-aist-Python/OpenRTM_aist
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 1月 11日 (水) 19:09:04 JST
Author: miyamoto
Date: 2017-01-11 19:09:04 +0900 (Wed, 11 Jan 2017)
New Revision: 773
Modified:
trunk/OpenRTM-aist-Python/OpenRTM_aist/ManagerServant.py
Log:
[compat,bugfix,->RELENG_1_2] fixed bug.
Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/ManagerServant.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/ManagerServant.py 2017-01-11 10:07:18 UTC (rev 772)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/ManagerServant.py 2017-01-11 10:09:04 UTC (rev 773)
@@ -1152,7 +1152,7 @@
self._rtcout.RTC_DEBUG("Invoking command: %s.", cmd)
ret = OpenRTM_aist.launch_shell(cmd)
- print cmd, ret
+
if ret == -1:
self._rtcout.RTC_DEBUG("%s: failed", cmd)
@@ -1255,7 +1255,7 @@
self._rtcout.RTC_DEBUG("Invoking command: %s.", cmd)
ret = OpenRTM_aist.launch_shell(cmd)
- print cmd, ret
+
if ret == -1:
self._rtcout.RTC_DEBUG("%s: failed", cmd)
return RTC.RTObject._nil
@@ -1264,7 +1264,6 @@
time.sleep(0.01)
count = 0
while CORBA.is_nil(mgrobj):
- print count
mgrobj = self.findManager(mgrstr)
count += 1
if count > 1000:
More information about the openrtm-commit
mailing list