Commit c1245d49 authored by Jim Fulton's avatar Jim Fulton

Fixed some long lines. :(

parent bc12cb73
...@@ -1417,7 +1417,8 @@ class TransactionIterator(object): ...@@ -1417,7 +1417,8 @@ class TransactionIterator(object):
self._storage._forget_iterator(self._iid) self._storage._forget_iterator(self._iid)
raise ZODB.interfaces.StorageStopIteration() raise ZODB.interfaces.StorageStopIteration()
return ClientStorageTransactionInformation(self._storage, self, *tx_data) return ClientStorageTransactionInformation(
self._storage, self, *tx_data)
class ClientStorageTransactionInformation(ZODB.BaseStorage.TransactionRecord): class ClientStorageTransactionInformation(ZODB.BaseStorage.TransactionRecord):
......
...@@ -590,7 +590,8 @@ class ZEOStorage: ...@@ -590,7 +590,8 @@ class ZEOStorage:
def _restore(self, oid, serial, data, prev_txn): def _restore(self, oid, serial, data, prev_txn):
err = None err = None
try: try:
self.storage.restore(oid, serial, data, '', prev_txn, self.transaction) self.storage.restore(oid, serial, data, '', prev_txn,
self.transaction)
except (SystemExit, KeyboardInterrupt): except (SystemExit, KeyboardInterrupt):
raise raise
except Exception, err: except Exception, err:
...@@ -768,7 +769,8 @@ class ZEOStorage: ...@@ -768,7 +769,8 @@ class ZEOStorage:
txn_info = self._txn_iterators_last[txn_iid] txn_info = self._txn_iterators_last[txn_iid]
if txn_info.tid != tid: if txn_info.tid != tid:
raise Exception( raise Exception(
'Out-of-order request for record iterator for transaction %r' % tid) 'Out-of-order request for record iterator for transaction %r'
% tid)
self._iterators[record_iid] = iter(txn_info) self._iterators[record_iid] = iter(txn_info)
return record_iid return record_iid
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment