def remove(self, value): """remove custom value""" AbstractSharingData.remove(self, value) container = self._get_sharing_container(value) if container: del container[value] else: print "%s already removed"% value
def remove(self, value): """remove custom value""" AbstractSharingData.remove(self, value) if self.config.has_option(SECTION_CUSTOM, value): self.config.remove_option(SECTION_CUSTOM, value)