Remove an entry from the catalog
961379
def remove(self, value):
        
        ret = libxml2mod.xmlACatalogRemove(self._o, value)
        return ret
97747
def remove_entry(self, entry = None):
        
        
        if entry is None or type(entry) is not v1Entry:
            raise KPError("Need an entry.")
        elif entry in self.entries:
            entry.group.entries.remove(entry)
            self.entries.remove(entry)
            self._num_entries -= 1
            return True
        else:
            raise KPError("Given entry doesn't exist.")
1031824
def remove_entry(self, entry):
        
        if not isinstance(entry, Entry):
            raise TypeError("entry param must be of type Entry.")
        if not entry in self.entries:
            raise ValueError("Entry doesn't exist / not bound to this datbase.")
        
        entry.group.entries.remove(entry)
        self.entries.remove(entry)
1077275
private void removeLastEntry() {
    Entry<E> entry = indexToEntry.remove(size() - 1);
    keyToEntry.remove(entry.key);
  }
1143381
def _delIndex(catalog, index):
    
    if index in catalog.indexes():
        try:
            catalog.delIndex(index)
            logger.info(
                'Catalog index %s deleted from %s.' % (index, catalog.id))
            return True
        except:
            logger.error(
                'Catalog index %s error while deleting from %s.'
                % (index, catalog.id))
    return False
257365
def remove(self):

        ''' 
            
        '''

        _title = '%s.remove' % self.__class__.__name__

    # TODO  error handling is turned off to avoid system blocking
    #       fix potential to create artifacts in the system

    # remove collection tree
        try:
            import shutil
            shutil.rmtree(self.collection_folder, ignore_errors=True)
        except:
            raise Exception('%s failed to remove %s collection from app data.' % (_title, self.collection_folder))

        exit_msg = '%s collection has been removed from app data.' % self.collection_folder
        return exit_msg
787335
def removeItem(self, item):
        """"""
        try:
            self.tree.removeItem(item)
        except AttributeError, e:
            raise VersionError('Saved versions are immutable')
954236
def remove_entry(self, anime_id):
        

        r = self._query_('libraries/%s/remove' % anime_id, 'POST')

        if not r.status_code == 200:
            raise ValueError
721404
function removeThis()
    {
        $exportItems = $this->fetchItems();

        $db = eZDB::instance();
        $db->begin();
        foreach ( $exportItems as $item )
        {
            $item->remove();
        }
        $this->remove();
        $db->commit();
    }
1120799
def remove(self, param, author=None):
        """"""
        if isinstance(param, SkillEntry):
            skill = param
        else:
            skill = self.find_skill(param, author)
        skill.remove()
        skills = [s for s in self.skills_data['skills']
                  if s['name'] != skill.name]
        self.skills_data['skills'] = skills
        return
706206
def del_reference(self, source, target, **kwargs):
        
        rc = api.get_tool("reference_catalog")
        uid = api.get_uid(target)
        rc.deleteReference(source, uid, self.relationship)
        # unlink the version of the reference
        self.link_version(source, target)
654785
def remove_move(name):
    """"""
    try:
        delattr(_MovedItems, name)
    except AttributeError:
        try:
            del moves.__dict__[name]
        except KeyError:
            raise AttributeError("no such move, %r" % (name,))
49611
def remove(self, item):
        """"""
        for entry in self:
            if item.lower() == entry.lower():
                list.remove(self, entry)
                return
        raise ValueError(': list.remove(x): x not in list')
963469
def remove(self, x):
        """"""

        def _remove(x):
            found = self.first(x)
            if found is not None:
                self._args.pop(found)

        if _is_collection(x):
            for item in x:
                _remove(x)
        else:
            _remove(x)
590574
def remove(self, pkgs):
        
        print("\nRemove packages from the queue:\n")
        with open(self.queue_list, "w") as queue:
            for line in self.queued.splitlines():
                if line not in pkgs:
                    queue.write(line + "\n")
                else:
                    print("{0}{1}{2}".format(self.meta.color["RED"], line,
                                             self.meta.color["ENDC"]))
                    self.quit = True
            queue.close()
        if self.quit:
            print("")
344558
def remove_entry(self, **field_value):
        
        field, value = next(iter(field_value.items()))
        self.data['entries'][:] = [entry
            for entry in self.data.get('entries')
            if entry.get('{}_entry'.format(self.typeof))
            .get(field) != str(value)]
620864
def remove(self, entry):
        """"""
        try:
            list = self.cache[entry.key]
            list.remove(entry)
        except:
            pass