[Zodb-checkins] SVN: ZODB/trunk/src/ZODB/DemoStorage.py Removed trailing whitespace.

Jim Fulton jim at zope.com
Thu May 6 17:23:36 EDT 2010


Log message for revision 112107:
  Removed trailing whitespace.
  

Changed:
  U   ZODB/trunk/src/ZODB/DemoStorage.py

-=-
Modified: ZODB/trunk/src/ZODB/DemoStorage.py
===================================================================
--- ZODB/trunk/src/ZODB/DemoStorage.py	2010-05-06 20:19:22 UTC (rev 112106)
+++ ZODB/trunk/src/ZODB/DemoStorage.py	2010-05-06 21:23:35 UTC (rev 112107)
@@ -45,7 +45,7 @@
         else:
             self._temporary_base = False
         self.base = base
-            
+
         if changes is None:
             changes = ZODB.MappingStorage.MappingStorage()
             zope.interface.alsoProvides(self, ZODB.interfaces.IBlobStorage)
@@ -82,7 +82,7 @@
             self.changes = ZODB.blob.BlobStorage(blob_dir, self.changes)
             self._copy_methods_from_changes(self.changes)
             return True
-    
+
     def cleanup(self):
         self.base.cleanup()
         self.changes.cleanup()
@@ -95,7 +95,7 @@
 
     def _copy_methods_from_changes(self, changes):
         for meth in (
-            '_lock_acquire', '_lock_release', 
+            '_lock_acquire', '_lock_release',
             'getSize', 'history', 'isReadOnly', 'registerDB',
             'sortKey', 'tpc_transaction', 'tpc_vote',
             ):
@@ -230,7 +230,7 @@
             raise TypeError(
                 "Garbage collection isn't supported"
                 " when there is a base storage.")
-        
+
         try:
             self.changes.pack(t, referencesf, gc=False)
         except TypeError, v:
@@ -262,7 +262,7 @@
                 old = self.base.load(oid, '')[1]
             except ZODB.POSException.POSKeyError:
                 old = serial
-                
+
         if old != serial:
             raise ZODB.POSException.ConflictError(
                 oid=oid, serials=(old, serial)) # XXX untested branch
@@ -332,7 +332,7 @@
 _temporary_blobdirs = {}
 def cleanup_temporary_blobdir(
     ref,
-    _temporary_blobdirs=_temporary_blobdirs, # Make sure it stays around 
+    _temporary_blobdirs=_temporary_blobdirs, # Make sure it stays around
     ):
     blob_dir = _temporary_blobdirs.pop(ref, None)
     if blob_dir and os.path.exists(blob_dir):



More information about the Zodb-checkins mailing list