[Zodb-checkins] CVS: Packages/bsddb3Storage - BerkeleyBase.py:1.7

barry@digicool.com barry@digicool.com
Mon, 9 Jul 2001 15:14:14 -0400 (EDT)


Update of /cvs-repository/Packages/bsddb3Storage/bsddb3Storage
In directory korak.digicool.com:/tmp/cvs-serv701

Modified Files:
	BerkeleyBase.py 
Log Message:
getSize(): Jim says this can return a string, and that it's not worth
implementing correctly, so change this to return "too hard to
determine".



--- Updated File BerkeleyBase.py in package Packages/bsddb3Storage --
--- BerkeleyBase.py	2001/04/24 03:44:58	1.6
+++ BerkeleyBase.py	2001/07/09 19:14:14	1.7
@@ -146,7 +146,7 @@
     def getSize(self):
         """Return the size of the database."""
         # TBD: this is expensive to calculate and many not be necessary.
-        return 0
+        return 'too hard to determine'
 
     # BAW: this overrides BaseStorage.tpc_vote() with exactly the same
     # implementation.  This is so Zope 2.3.1, which doesn't include the change