Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
ZODB
Commits
fc049e1f
Commit
fc049e1f
authored
Apr 19, 2004
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whitespace normalization.
parent
c0914442
Changes
30
Show whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
117 additions
and
124 deletions
+117
-124
src/Persistence/tests/test_ExtensionClass.py
src/Persistence/tests/test_ExtensionClass.py
+1
-2
src/ThreadedAsync/LoopCallback.py
src/ThreadedAsync/LoopCallback.py
+2
-2
src/ZEO/tests/ConnectionTests.py
src/ZEO/tests/ConnectionTests.py
+1
-1
src/ZODB/BaseStorage.py
src/ZODB/BaseStorage.py
+3
-3
src/ZODB/DB.py
src/ZODB/DB.py
+2
-2
src/ZODB/FileStorage/fspack.py
src/ZODB/FileStorage/fspack.py
+0
-1
src/ZODB/MappingStorage.py
src/ZODB/MappingStorage.py
+2
-2
src/ZODB/broken.py
src/ZODB/broken.py
+5
-5
src/ZODB/interfaces.py
src/ZODB/interfaces.py
+2
-2
src/ZODB/serialize.py
src/ZODB/serialize.py
+2
-2
src/ZODB/tests/PackableStorage.py
src/ZODB/tests/PackableStorage.py
+3
-3
src/ZODB/tests/sampledm.py
src/ZODB/tests/sampledm.py
+9
-9
src/ZODB/tests/testBroken.py
src/ZODB/tests/testBroken.py
+3
-3
src/ZODB/tests/testCache.py
src/ZODB/tests/testCache.py
+4
-4
src/ZODB/tests/test_cache.py
src/ZODB/tests/test_cache.py
+7
-7
src/ZODB/tests/util.py
src/ZODB/tests/util.py
+2
-2
src/ZODB/tests/warnhook.py
src/ZODB/tests/warnhook.py
+0
-1
src/ZODB/zodb4/conversion.py
src/ZODB/zodb4/conversion.py
+2
-2
src/ZODB/zodb4/main.py
src/ZODB/zodb4/main.py
+1
-1
src/ZODB/zodb4/z4errors.py
src/ZODB/zodb4/z4errors.py
+0
-1
src/ZODB/zodb4/z4interfaces.py
src/ZODB/zodb4/z4interfaces.py
+3
-3
src/persistent/interfaces.py
src/persistent/interfaces.py
+4
-4
src/persistent/tests/persistenttestbase.py
src/persistent/tests/persistenttestbase.py
+1
-2
src/persistent/tests/test_overriding_attrs.py
src/persistent/tests/test_overriding_attrs.py
+20
-20
src/persistent/tests/test_pickle.py
src/persistent/tests/test_pickle.py
+3
-3
src/persistent/wref.py
src/persistent/wref.py
+19
-20
src/transaction/_manager.py
src/transaction/_manager.py
+0
-1
src/transaction/interfaces.py
src/transaction/interfaces.py
+5
-5
src/transaction/tests/test_SampleDataManager.py
src/transaction/tests/test_SampleDataManager.py
+9
-9
src/transaction/util.py
src/transaction/util.py
+2
-2
No files found.
src/Persistence/tests/test_ExtensionClass.py
View file @
fc049e1f
...
@@ -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
()
src/ThreadedAsync/LoopCallback.py
View file @
fc049e1f
...
@@ -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.1
3
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
4
$'
[
11
:
-
2
]
import
asyncore
import
asyncore
import
select
import
select
...
...
src/ZEO/tests/ConnectionTests.py
View file @
fc049e1f
src/ZODB/BaseStorage.py
View file @
fc049e1f
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
##############################################################################
##############################################################################
"""Handy standard storage machinery
"""Handy standard storage machinery
$Id: BaseStorage.py,v 1.4
8 2004/04/17 22:19:30 gintautasm
Exp $
$Id: BaseStorage.py,v 1.4
9 2004/04/19 21:19:05 tim_one
Exp $
"""
"""
import
cPickle
import
cPickle
import
threading
import
threading
...
...
src/ZODB/DB.py
View file @
fc049e1f
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
##############################################################################
##############################################################################
"""Database objects
"""Database objects
$Id: DB.py,v 1.7
6 2004/04/17 23:04:52 gintautasm
Exp $"""
$Id: DB.py,v 1.7
7 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
...
...
src/ZODB/FileStorage/fspack.py
View file @
fc049e1f
...
@@ -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
src/ZODB/MappingStorage.py
View file @
fc049e1f
...
@@ -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.1
3
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
4
$'
[
11
:
-
2
]
from
ZODB
import
utils
from
ZODB
import
utils
from
ZODB
import
BaseStorage
from
ZODB
import
BaseStorage
...
...
src/ZODB/broken.py
View file @
fc049e1f
...
@@ -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
...
...
src/ZODB/interfaces.py
View file @
fc049e1f
...
@@ -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
:
...
...
src/ZODB/serialize.py
View file @
fc049e1f
src/ZODB/tests/PackableStorage.py
View file @
fc049e1f
src/ZODB/tests/sampledm.py
View file @
fc049e1f
...
@@ -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
):
...
...
src/ZODB/tests/testBroken.py
View file @
fc049e1f
...
@@ -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
...
...
src/ZODB/tests/testCache.py
View file @
fc049e1f
src/ZODB/tests/test_cache.py
View file @
fc049e1f
src/ZODB/tests/util.py
View file @
fc049e1f
...
@@ -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
...
...
src/ZODB/tests/warnhook.py
View file @
fc049e1f
...
@@ -55,4 +55,3 @@ class WarningsHook:
...
@@ -55,4 +55,3 @@ class WarningsHook:
def
clear
(
self
):
def
clear
(
self
):
self
.
warnings
=
[]
self
.
warnings
=
[]
src/ZODB/zodb4/conversion.py
View file @
fc049e1f
src/ZODB/zodb4/main.py
View file @
fc049e1f
src/ZODB/zodb4/z4errors.py
View file @
fc049e1f
...
@@ -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."""
src/ZODB/zodb4/z4interfaces.py
View file @
fc049e1f
...
@@ -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
...
...
src/persistent/interfaces.py
View file @
fc049e1f
...
@@ -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
...
...
src/persistent/tests/persistenttestbase.py
View file @
fc049e1f
...
@@ -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
src/persistent/tests/test_overriding_attrs.py
View file @
fc049e1f
...
@@ -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
...
...
src/persistent/tests/test_pickle.py
View file @
fc049e1f
...
@@ -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
...
...
src/persistent/wref.py
View file @
fc049e1f
...
@@ -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. :)
src/transaction/_manager.py
View file @
fc049e1f
...
@@ -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
)
src/transaction/interfaces.py
View file @
fc049e1f
...
@@ -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
...
...
src/transaction/tests/test_SampleDataManager.py
View file @
fc049e1f
...
@@ -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 fdrak
e Exp $
$Id: test_SampleDataManager.py,v 1.
3 2004/04/19 21:19:11 tim_on
e Exp $
"""
"""
class
DataManager
(
object
):
class
DataManager
(
object
):
...
...
src/transaction/util.py
View file @
fc049e1f
...
@@ -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 fdrak
e Exp $
$Id: util.py,v 1.
3 2004/04/19 21:19:10 tim_on
e Exp $
"""
"""
from
transaction.interfaces
import
IRollback
from
transaction.interfaces
import
IRollback
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment