From 3be449ae36cc0a11646dd8f6708e2cebddbe44bf Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 4 Feb 2008 20:50:22 +0000 Subject: [PATCH] Save bsddb changes for a separate check-in. --- Lib/bsddb/dbshelve.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/bsddb/dbshelve.py b/Lib/bsddb/dbshelve.py index a2d7bb79180..8264f2d8121 100644 --- a/Lib/bsddb/dbshelve.py +++ b/Lib/bsddb/dbshelve.py @@ -38,12 +38,12 @@ if sys.version_info[:3] >= (2, 3, 0): HIGHEST_PROTOCOL = pickle.HIGHEST_PROTOCOL def _dumps(object, protocol): return pickle.dumps(object, protocol=protocol) - from collections import MutableMapping + from UserDict import DictMixin else: HIGHEST_PROTOCOL = None def _dumps(object, protocol): return pickle.dumps(object, bin=protocol) - class MutableMapping: pass + class DictMixin: pass from . import db