Commit 0182c068 authored by Guido van Rossum's avatar Guido van Rossum

inherit error from _mod.error

parent 13ad35a7
......@@ -47,5 +47,8 @@ for _name in _names:
break
else:
raise ImportError, "no dbm clone found; tried %s" % _names
error = _mod.error
def open(file, flag = 'r', mode = 0666):
return _mod.open(file, flag, mode)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment