[openrtm-commit:03141] r936 - trunk/OpenRTM-aist-Python/OpenRTM_aist
openrtm @ openrtm.org
openrtm @ openrtm.org
2018年 1月 24日 (水) 17:41:20 JST
Author: miyamoto
Date: 2018-01-24 17:41:20 +0900 (Wed, 24 Jan 2018)
New Revision: 936
Modified:
trunk/OpenRTM-aist-Python/OpenRTM_aist/ConfigAdmin.py
Log:
[compat, bugfix, ->RELENG_1_2] fixed bug
Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/ConfigAdmin.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/ConfigAdmin.py 2018-01-24 08:12:52 UTC (rev 935)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/ConfigAdmin.py 2018-01-24 08:41:20 UTC (rev 936)
@@ -633,7 +633,7 @@
# update(const char* config_set)
if config_set and config_param is None:
- if self._configsets.hasKey(config_set) == False:
+ if self._configsets.hasKey(config_set) is None:
return
self._changedParam = []
prop = self._configsets.getNode(config_set)
@@ -803,7 +803,7 @@
# @endif
# bool haveConfig(const char* config_id);
def haveConfig(self, config_id):
- if self._configsets.hasKey(config_id) == False:
+ if self._configsets.hasKey(config_id) is None:
return False
else:
return True
More information about the openrtm-commit
mailing list