[openrtm-commit:02184] r770 - trunk/OpenRTM-aist-Python/OpenRTM_aist

openrtm @ openrtm.org openrtm @ openrtm.org
2016年 12月 20日 (火) 19:01:26 JST


Author: miyamoto
Date: 2016-12-20 19:01:26 +0900 (Tue, 20 Dec 2016)
New Revision: 770

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

Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/SdoConfiguration.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/SdoConfiguration.py	2016-12-20 09:31:20 UTC (rev 769)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/SdoConfiguration.py	2016-12-20 10:01:26 UTC (rev 770)
@@ -333,9 +333,9 @@
       self._rtcout.RTC_ERROR(OpenRTM_aist.Logger.print_exception())
       raise SDOPackage.InternalError("Configuration.add_service_profile")
 
-    return False
 
 
+
   ##
   # @if jp
   # 
@@ -377,12 +377,9 @@
     if org is None:
       raise SDOPackage.InvalidParameter("org is empty.")
 
-    try:
-      OpenRTM_aist.CORBA_SeqUtil.push_back(self._organizations, org)
-    except:
-      self._rtcout.RTC_ERROR(OpenRTM_aist.Logger.print_exception())
-      raise SDOPackage.InternalError("Configuration.add_organization")
 
+    OpenRTM_aist.CORBA_SeqUtil.push_back(self._organizations, org)
+
     return True
 
 



More information about the openrtm-commit mailing list