Commit fc049e1f authored by Tim Peters's avatar Tim Peters

Whitespace normalization.

parent c0914442
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
############################################################################## ##############################################################################
"""Test ExtensionClass support in Persistence.Persistent """Test ExtensionClass support in Persistence.Persistent
$Id: test_ExtensionClass.py,v 1.6 2004/02/20 17:19:43 jeremy Exp $ $Id: test_ExtensionClass.py,v 1.7 2004/04/19 21:19:03 tim_one Exp $
""" """
from doctest import DocTestSuite from doctest import DocTestSuite
...@@ -505,4 +505,3 @@ def test_pickling_w_slots_w_empty_dict(): ...@@ -505,4 +505,3 @@ def test_pickling_w_slots_w_empty_dict():
def test_suite(): def test_suite():
return DocTestSuite() return DocTestSuite()
...@@ -25,7 +25,7 @@ register_loop_callback() to register interest. When the mainloop ...@@ -25,7 +25,7 @@ register_loop_callback() to register interest. When the mainloop
thread calls loop(), each registered callback will be called with the thread calls loop(), each registered callback will be called with the
socket map as its first argument. socket map as its first argument.
""" """
__version__ = '$Revision: 1.13 $'[11:-2] __version__ = '$Revision: 1.14 $'[11:-2]
import asyncore import asyncore
import select import select
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
############################################################################## ##############################################################################
"""Handy standard storage machinery """Handy standard storage machinery
$Id: BaseStorage.py,v 1.48 2004/04/17 22:19:30 gintautasm Exp $ $Id: BaseStorage.py,v 1.49 2004/04/19 21:19:05 tim_one Exp $
""" """
import cPickle import cPickle
import threading import threading
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
############################################################################## ##############################################################################
"""Database objects """Database objects
$Id: DB.py,v 1.76 2004/04/17 23:04:52 gintautasm Exp $""" $Id: DB.py,v 1.77 2004/04/19 21:19:05 tim_one Exp $"""
import cPickle, cStringIO, sys import cPickle, cStringIO, sys
from thread import allocate_lock from thread import allocate_lock
......
...@@ -687,4 +687,3 @@ class FileStoragePacker(FileStorageFormatter): ...@@ -687,4 +687,3 @@ class FileStoragePacker(FileStorageFormatter):
if self._lock_counter % 20 == 0: if self._lock_counter % 20 == 0:
self._commit_lock_acquire() self._commit_lock_acquire()
return ipos return ipos
...@@ -21,7 +21,7 @@ It is meant to illustrate the simplest possible storage. ...@@ -21,7 +21,7 @@ It is meant to illustrate the simplest possible storage.
The Mapping storage uses a single data structure to map object ids to data. The Mapping storage uses a single data structure to map object ids to data.
""" """
__version__='$Revision: 1.13 $'[11:-2] __version__='$Revision: 1.14 $'[11:-2]
from ZODB import utils from ZODB import utils
from ZODB import BaseStorage from ZODB import BaseStorage
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
############################################################################## ##############################################################################
"""Broken object support """Broken object support
$Id: broken.py,v 1.3 2004/03/04 22:41:52 jim Exp $ $Id: broken.py,v 1.4 2004/04/19 21:19:05 tim_one Exp $
""" """
import sys import sys
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
############################################################################## ##############################################################################
"""Interfaces for ZODB. """Interfaces for ZODB.
$Id: interfaces.py,v 1.3 2004/02/24 13:51:03 srichter Exp $ $Id: interfaces.py,v 1.4 2004/04/19 21:19:05 tim_one Exp $
""" """
try: try:
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
############################################################################## ##############################################################################
"""Sample objects for use in tests """Sample objects for use in tests
$Id: sampledm.py,v 1.2 2004/02/19 02:59:10 jeremy Exp $ $Id: sampledm.py,v 1.3 2004/04/19 21:19:07 tim_one Exp $
""" """
class DataManager(object): class DataManager(object):
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
############################################################################## ##############################################################################
"""Test broken-object suppport """Test broken-object suppport
$Id: testBroken.py,v 1.4 2004/04/16 15:58:11 jeremy Exp $ $Id: testBroken.py,v 1.5 2004/04/19 21:19:07 tim_one Exp $
""" """
import sys import sys
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
############################################################################## ##############################################################################
"""Conventience function for creating test databases """Conventience function for creating test databases
$Id: util.py,v 1.4 2004/04/16 15:58:11 jeremy Exp $ $Id: util.py,v 1.5 2004/04/19 21:19:07 tim_one Exp $
""" """
import time import time
......
...@@ -55,4 +55,3 @@ class WarningsHook: ...@@ -55,4 +55,3 @@ class WarningsHook:
def clear(self): def clear(self):
self.warnings = [] self.warnings = []
...@@ -60,4 +60,3 @@ class CorruptedDataError(CorruptedError): ...@@ -60,4 +60,3 @@ class CorruptedDataError(CorruptedError):
class FileStorageQuotaError(FileStorageError, StorageSystemError): class FileStorageQuotaError(FileStorageError, StorageSystemError):
"""File storage quota exceeded.""" """File storage quota exceeded."""
...@@ -26,7 +26,7 @@ the public APIs of the database. ...@@ -26,7 +26,7 @@ the public APIs of the database.
The IDatabase, IConnection, and ITransactionAttrs interfaces describe The IDatabase, IConnection, and ITransactionAttrs interfaces describe
private APIs used by the implementation. private APIs used by the implementation.
$Id: z4interfaces.py,v 1.2 2004/02/20 19:01:07 jeremy Exp $ $Id: z4interfaces.py,v 1.3 2004/04/19 21:19:09 tim_one Exp $
""" """
from ZODB.zodb4 import z4utils from ZODB.zodb4 import z4utils
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
############################################################################## ##############################################################################
"""Persistence Interfaces """Persistence Interfaces
$Id: interfaces.py,v 1.3 2004/02/24 13:54:05 srichter Exp $ $Id: interfaces.py,v 1.4 2004/04/19 21:19:09 tim_one Exp $
""" """
try: try:
from zope.interface import Interface from zope.interface import Interface
......
...@@ -370,4 +370,3 @@ class PersistentTest(Test): ...@@ -370,4 +370,3 @@ class PersistentTest(Test):
class BasePersistentTest(Test): class BasePersistentTest(Test):
klass = B klass = B
has_dict = 0 has_dict = 0
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
This module tests and documents, through example, overriding attribute This module tests and documents, through example, overriding attribute
access methods. access methods.
$Id: test_overriding_attrs.py,v 1.6 2004/04/16 15:58:10 jeremy Exp $ $Id: test_overriding_attrs.py,v 1.7 2004/04/19 21:19:10 tim_one Exp $
""" """
from persistent import Persistent from persistent import Persistent
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
############################################################################## ##############################################################################
"""Basic pickling tests """Basic pickling tests
$Id: test_pickle.py,v 1.5 2004/02/19 18:13:34 jeremy Exp $ $Id: test_pickle.py,v 1.6 2004/04/19 21:19:10 tim_one Exp $
""" """
from persistent import Persistent from persistent import Persistent
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
############################################################################## ##############################################################################
"""ZODB-based persistent weakrefs """ZODB-based persistent weakrefs
$Id: wref.py,v 1.2 2004/02/19 02:59:30 jeremy Exp $ $Id: wref.py,v 1.3 2004/04/19 21:19:09 tim_one Exp $
""" """
from persistent import Persistent from persistent import Persistent
...@@ -299,4 +299,3 @@ class PersistentWeakKeyDictionary(Persistent): ...@@ -299,4 +299,3 @@ class PersistentWeakKeyDictionary(Persistent):
self.data[WeakRef(k)] = v self.data[WeakRef(k)] = v
# XXX Someone else can fill out the rest of the methods, with tests. :) # XXX Someone else can fill out the rest of the methods, with tests. :)
...@@ -91,4 +91,3 @@ class ThreadTransactionManager(object): ...@@ -91,4 +91,3 @@ class ThreadTransactionManager(object):
tid = thread.get_ident() tid = thread.get_ident()
L = self._synchs.get(tid) L = self._synchs.get(tid)
L.remove(synch) L.remove(synch)
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
############################################################################## ##############################################################################
"""Transaction Interfaces """Transaction Interfaces
$Id: interfaces.py,v 1.7 2004/02/24 13:52:05 srichter Exp $ $Id: interfaces.py,v 1.8 2004/04/19 21:19:10 tim_one Exp $
""" """
try: try:
from zope.interface import Interface from zope.interface import Interface
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
############################################################################## ##############################################################################
"""Sample objects for use in tests """Sample objects for use in tests
$Id: test_SampleDataManager.py,v 1.2 2004/02/20 16:56:57 fdrake Exp $ $Id: test_SampleDataManager.py,v 1.3 2004/04/19 21:19:11 tim_one Exp $
""" """
class DataManager(object): class DataManager(object):
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
############################################################################## ##############################################################################
"""Utility classes or functions """Utility classes or functions
$Id: util.py,v 1.2 2004/02/20 16:56:56 fdrake Exp $ $Id: util.py,v 1.3 2004/04/19 21:19:10 tim_one Exp $
""" """
from transaction.interfaces import IRollback from transaction.interfaces import IRollback
......
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