[Python-checkins] python/dist/src/Lib/bsddb db.py,1.1,1.2 dbshelve.py,1.1,1.2 dbtables.py,1.1,1.2

loewis@users.sourceforge.net loewis@users.sourceforge.net
2002年11月19日 09:48:53 -0800


Update of /cvsroot/python/python/dist/src/Lib/bsddb
In directory sc8-pr-cvs1:/tmp/cvs-serv1518
Modified Files:
	db.py dbshelve.py dbtables.py 
Log Message:
Replace bsddb3 and _db occurrences.
Index: db.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/bsddb/db.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** db.py	19 Nov 2002 08:09:52 -0000	1.1
--- db.py	19 Nov 2002 17:48:48 -0000	1.2
***************
*** 38,43 ****
 # it just simply imports everything from _db.
 
! from _db import *
! from _db import __version__
 
 if version() < (3, 1, 0):
--- 38,43 ----
 # it just simply imports everything from _db.
 
! from _bsddb import *
! from _bsddb import __version__
 
 if version() < (3, 1, 0):
Index: dbshelve.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/bsddb/dbshelve.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** dbshelve.py	19 Nov 2002 08:09:52 -0000	1.1
--- dbshelve.py	19 Nov 2002 17:48:49 -0000	1.2
***************
*** 32,36 ****
 
 import cPickle
! from bsddb3 import db
 
 #------------------------------------------------------------------------
--- 32,36 ----
 
 import cPickle
! from bsddb import db
 
 #------------------------------------------------------------------------
Index: dbtables.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/bsddb/dbtables.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** dbtables.py	19 Nov 2002 08:09:52 -0000	1.1
--- dbtables.py	19 Nov 2002 17:48:49 -0000	1.2
***************
*** 29,33 ****
 import copy
 
! from bsddb3.db import *
 
 
--- 29,33 ----
 import copy
 
! from bsddb.db import *
 
 

AltStyle によって変換されたページ (->オリジナル) /