[openrtm-commit:00700] r514 - branches/work/OpenRTM-aist-Python/OpenRTM_aist

openrtm @ openrtm.org openrtm @ openrtm.org
2012年 2月 13日 (月) 11:16:39 JST


Author: kurihara
Date: 2012-02-13 11:16:39 +0900 (Mon, 13 Feb 2012)
New Revision: 514

Modified:
   branches/work/OpenRTM-aist-Python/OpenRTM_aist/Manager.py
Log:
Typo has been corrected.

Modified: branches/work/OpenRTM-aist-Python/OpenRTM_aist/Manager.py
===================================================================
--- branches/work/OpenRTM-aist-Python/OpenRTM_aist/Manager.py	2012-02-08 15:04:32 UTC (rev 513)
+++ branches/work/OpenRTM-aist-Python/OpenRTM_aist/Manager.py	2012-02-13 02:16:39 UTC (rev 514)
@@ -2121,7 +2121,7 @@
     if self._config.findNode(category + "." + inst_name):
       temp_ = OpenRTM_aist.Properties(prop=self._config.getNode(category+"."+inst_name))
       keys_ = temp_.propertyNames()
-      if not (len(keys_) == 1 and keys[-1] == "config_file"):
+      if not (len(keys_) == 1 and keys_[-1] == "config_file"):
         name_prop.mergeProperties(self._config.getNode(category + "." + inst_name))
         self._rtcout.RTC_INFO("Component name conf exists in rtc.conf. Merged.")
         self._rtcout.RTC_DEBUG(name_prop)
@@ -2145,7 +2145,7 @@
     if self._config.findNode(category + "." + type_name):
       temp_ = OpenRTM_aist.Properties(prop=self._config.getNode(category+"."+type_name))
       keys_ = temp_.propertyNames()
-      if not (len(keys_) == 1 and keys[-1] == "config_file"):
+      if not (len(keys_) == 1 and keys_[-1] == "config_file"):
         type_prop.mergeProperties(self._config.getNode(category + "." + type_name))
         self._rtcout.RTC_INFO("Component type conf exists in rtc.conf. Merged.")
         self._rtcout.RTC_DEBUG(type_prop)



openrtm-commit メーリングリストの案内