Staging
v0.8.1
Revision 7c9bcf82436189e69db28df1b3a7cc8d7dd7b5c4 authored by Moshe Zadka on 31 March 2001, 14:26:54 UTC, committed by Moshe Zadka on 31 March 2001, 14:26:54 UTC
  which can be called from a start tag handler.  When the corresponding end
  tag is read the flag is cleared.  However, it didn't get cleared when
  the start tag was for an empty element of the type <tag .../>.  This
  modification fixes the problem.
1 parent ea96661
Raw File
dbhash.py
"""Provide a (g)dbm-compatible interface to bsdhash.hashopen."""

import bsddb

error = bsddb.error                     # Exported for anydbm

def open(file, flag, mode=0666):
    return bsddb.hashopen(file, flag, mode)
back to top