[Zodb-checkins] SVN: ZODB/trunk/src/ZODB/MappingStorage.py Cleaned up trailing whitespave
Jim Fulton
jim at zope.com
Sat Jul 10 15:10:57 EDT 2010
Log message for revision 114542:
Cleaned up trailing whitespave
Changed:
U ZODB/trunk/src/ZODB/MappingStorage.py
-=-
Modified: ZODB/trunk/src/ZODB/MappingStorage.py
===================================================================
--- ZODB/trunk/src/ZODB/MappingStorage.py 2010-07-10 19:10:54 UTC (rev 114541)
+++ ZODB/trunk/src/ZODB/MappingStorage.py 2010-07-10 19:10:56 UTC (rev 114542)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) Zope Corporation and Contributors.
+# Copyright (c) Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
@@ -28,7 +28,7 @@
import zope.interface
class MappingStorage(object):
-
+
zope.interface.implements(
ZODB.interfaces.IStorage,
ZODB.interfaces.IStorageIteration,
@@ -50,7 +50,7 @@
######################################################################
# Preconditions:
-
+
def opened(self):
"""The storage is open
"""
@@ -94,7 +94,7 @@
if tid_data:
return tid_data.maxKey()
raise ZODB.POSException.POSKeyError(oid)
-
+
# ZODB.interfaces.IStorage
@ZODB.utils.locked(opened)
def history(self, oid, size=1):
@@ -124,7 +124,7 @@
def iterator(self, start=None, end=None):
for transaction_record in self._transactions.values(start, end):
yield transaction_record
-
+
# ZODB.interfaces.IStorage
@ZODB.utils.locked(opened)
def lastTransaction(self):
@@ -165,7 +165,7 @@
else:
raise ZODB.POSException.POSKeyError(oid)
-
+
# ZODB.interfaces.IStorage
@ZODB.utils.locked(opened)
def loadSerial(self, oid, serial):
@@ -189,7 +189,7 @@
def pack(self, t, referencesf, gc=True):
if not self._data:
return
-
+
stop = `ZODB.TimeStamp.TimeStamp(*time.gmtime(t)[:5]+(t%60,))`
if self._last_pack is not None and self._last_pack >= stop:
if self._last_pack == stop:
@@ -312,7 +312,7 @@
self._transaction = None
del self._tdata
self._commit_lock.release()
-
+
# ZEO.interfaces.IServeable
@ZODB.utils.locked(opened)
def tpc_transaction(self):
More information about the Zodb-checkins
mailing list