コード例 #1
0
 def remove_custom_attributes(self, key):
     AbstractPersonalData.remove_custom_attributes(self, key)
     if self.config.has_option(SECTION_CUSTOM, key):
         self.config.remove_option(SECTION_CUSTOM, key)
コード例 #2
0
 def remove_custom_attributes(self, value):
     """sets new value for custom_attributes"""
     AbstractPersonalData.remove_custom_attributes(self, value)
     if self.custom_attributes.has_key(value):
         del self.custom_attributes[value]
コード例 #3
0
 def remove_custom_attributes(self, key):
     AbstractPersonalData.remove_custom_attributes(self, key)
     if self.custom_attributes.has_key(key):
         del self.custom_attributes[key]
コード例 #4
0
 def remove_custom_attributes(self, value):
     """sets new value for custom_attributes"""
     AbstractPersonalData.remove_custom_attributes(self, value)
     if self.config.has_option(SECTION_CUSTOM, value):
         self.config.remove_option(SECTION_CUSTOM, value)