Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
253b6c40
Commit
253b6c40
authored
Nov 18, 2003
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Merge tseaver-strexp_delenda-branch to the head.
parent
27536732
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
11 deletions
+12
-11
src/BTrees/tests/testBTrees.py
src/BTrees/tests/testBTrees.py
+1
-1
src/ZODB/ConflictResolution.py
src/ZODB/ConflictResolution.py
+2
-1
src/ZODB/DB.py
src/ZODB/DB.py
+4
-4
src/ZODB/Mount.py
src/ZODB/Mount.py
+3
-3
src/ZODB/tests/testTransaction.py
src/ZODB/tests/testTransaction.py
+2
-2
No files found.
src/BTrees/tests/testBTrees.py
View file @
253b6c40
...
...
@@ -612,7 +612,7 @@ class BTreeTests(MappingBase):
del
self
.
t
[
k
]
deleted
.
append
(
k
)
if
self
.
t
.
has_key
(
k
):
raise
"had problems deleting %s"
%
k
self
.
fail
(
"had problems deleting %s"
%
k
)
badones
=
[]
for
x
in
deleted
:
if
self
.
t
.
has_key
(
x
):
...
...
src/ZODB/ConflictResolution.py
View file @
253b6c40
...
...
@@ -14,6 +14,7 @@
import
sys
from
cStringIO
import
StringIO
from
cPickle
import
Unpickler
,
Pickler
from
pickle
import
PicklingError
from
ZODB.POSException
import
ConflictError
import
zLOG
...
...
@@ -47,7 +48,7 @@ class PersistentReference:
return
"PR(%s %s)"
%
(
id
(
self
),
self
.
data
)
def
__getstate__
(
self
):
raise
"Can't pickle PersistentReference"
raise
PicklingError
,
"Can't pickle PersistentReference"
class
PersistentReferenceFactory
:
...
...
src/ZODB/DB.py
View file @
253b6c40
...
...
@@ -13,8 +13,8 @@
##############################################################################
"""Database objects
$Id: DB.py,v 1.5
5 2003/10/02 18:17:19 jeremy
Exp $"""
__version__
=
'$Revision: 1.5
5
$'
[
11
:
-
2
]
$Id: DB.py,v 1.5
6 2003/11/18 13:17:16 tseaver
Exp $"""
__version__
=
'$Revision: 1.5
6
$'
[
11
:
-
2
]
import
cPickle
,
cStringIO
,
sys
,
POSException
,
UndoLogCompatible
from
Connection
import
Connection
...
...
@@ -277,7 +277,7 @@ class DB(UndoLogCompatible.UndoLogCompatible, object):
transaction
.
register
(
CommitVersion
(
self
,
source
,
destination
))
def
exportFile
(
self
,
oid
,
file
=
None
):
raise
'Not yet implemented'
raise
NotImplementedError
def
getCacheDeactivateAfter
(
self
):
return
self
.
_cache_deactivate_after
...
...
@@ -301,7 +301,7 @@ class DB(UndoLogCompatible.UndoLogCompatible, object):
return
self
.
_version_pool_size
def
importFile
(
self
,
file
):
raise
'Not yet implemented'
raise
NotImplementedError
def
invalidate
(
self
,
oids
,
connection
=
None
,
version
=
''
,
rc
=
sys
.
getrefcount
):
...
...
src/ZODB/Mount.py
View file @
253b6c40
...
...
@@ -13,8 +13,8 @@
##############################################################################
"""Mounted database support
$Id: Mount.py,v 1.
19 2003/02/06 20:31:17 shane
Exp $"""
__version__
=
'$Revision: 1.
19
$'
[
11
:
-
2
]
$Id: Mount.py,v 1.
20 2003/11/18 13:17:16 tseaver
Exp $"""
__version__
=
'$Revision: 1.
20
$'
[
11
:
-
2
]
import
thread
,
Persistence
,
Acquisition
from
Acquisition
import
aq_base
...
...
@@ -88,7 +88,7 @@ class MountPoint(Persistence.Persistent, Acquisition.Implicit):
'''Gets the database object, usually by creating a Storage object
and returning ZODB.DB(storage).
'''
raise
'NotImplemented'
raise
NotImplementedError
def
_getDB
(
self
):
'''Creates or opens a DB object.
...
...
src/ZODB/tests/testTransaction.py
View file @
253b6c40
...
...
@@ -14,7 +14,7 @@
"""
Revision information:
$Id: testTransaction.py,v 1.1
4 2003/10/05 14:34:35 chrism
Exp $
$Id: testTransaction.py,v 1.1
5 2003/11/18 13:17:16 tseaver
Exp $
"""
"""
...
...
@@ -521,7 +521,7 @@ class TransactionTests(unittest.TestCase):
except
Transaction
.
POSException
.
TransactionError
:
pass
else
:
raise
"Hosed Application didn't stop commits"
self
.
fail
(
"Hosed Application didn't stop commits"
)
class
DataObject
:
...
...
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