New submission from Steven Vereecken:

The check for DB_RECNO seems to do the opposite of what it's supposed to do:

    def append(self, value, txn=None):
        if self.get_type() != db.DB_RECNO:
            self.append = self.__append
            return self.append(value, txn=txn)
        raise db.DBError, "append() only supported when dbshelve opened
with filetype=dbshelve.db.DB_RECNO"

----------
components: Library (Lib)
messages: 56219
nosy: polaar
severity: normal
status: open
title: bsddb.dbshelve.DbShelf.append doesn't work
type: behavior
versions: Python 2.5

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1233>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to