def remove_custom_attributes(self, key): AbstractPersonalData.remove_custom_attributes(self, key) if self.custom_attributes.has_key(key): del self.custom_attributes[key]
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)