[ZODB-Dev] Very small patch to ZODB4

Dmitry Vasiliev dima@hlabs.spb.ru
Mon, 09 Dec 2002 12:41:08 +0300


This is a multi-part message in MIME format.
--------------090706030706050409070103
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Toby Dickenson wrote:
> On Wednesday 04 December 2002 9:31 am, Dmitry Vasiliev wrote:
> 
>>A tab has been replaced with spaces.
> 
> Thanks. its fixed in cvs trunk now.

Unfortunately it was broken again, so there is another patch. :-)

-- 
Dmitry Vasiliev (dima at hlabs.spb.ru)

--------------090706030706050409070103
Content-Type: text/plain;
 name="ZODB4.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="ZODB4.diff"

Index: ZODB/BaseStorage.py
===================================================================
RCS file: /cvs-repository/ZODB4/ZODB/BaseStorage.py,v
retrieving revision 1.25
diff -u -r1.25 BaseStorage.py
--- ZODB/BaseStorage.py	6 Dec 2002 20:18:15 -0000	1.25
+++ ZODB/BaseStorage.py	9 Dec 2002 09:20:49 -0000
@@ -2,14 +2,14 @@
 #
 # Copyright (c) 2001, 2002 Zope Corporation and Contributors.
 # All Rights Reserved.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE.
-# 
+#
 ##############################################################################
 """Handy standard storage machinery
 
@@ -66,10 +66,10 @@
 
     def getName(self):
         return self._name
-    
+
     def history(self, oid, version, length=1):
         pass
-                    
+
     def modifiedInVersion(self, oid):
         return ''
 
@@ -97,10 +97,10 @@
 
     def isReadOnly(self):
         return self._is_read_only
-    
+
     def supportsVersions(self):
         return False
-        
+
     def tpc_abort(self, transaction):
         self._lock_acquire()
         try:
@@ -247,7 +247,7 @@
 
     def getExtensionMethods(self):
         """getExtensionMethods
- 
+
         This returns a dictionary whose keys are names of extra methods
         provided by this storage. Storage proxies (such as ZEO) should
         call this method to determine the extra methods that they need
@@ -255,7 +255,7 @@
         Dictionary values should be None; this will be a handy place
         for extra marshalling information, should we need it
         """
-	return {}
+        return {}
 
     def copyTransactionsFrom(self, other, verbose=0):
         """Copy transactions from another storage.

--------------090706030706050409070103--