Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Kirill Smelkov
Zope
Commits
b05eb974
Commit
b05eb974
authored
Oct 16, 2008
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Lauchpad #143736,#271395: fixed AttributeError' on _ltid in TempStorage
parent
f2dbde39
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
doc/CHANGES.txt
doc/CHANGES.txt
+2
-0
lib/python/tempstorage/TemporaryStorage.py
lib/python/tempstorage/TemporaryStorage.py
+3
-1
No files found.
doc/CHANGES.txt
View file @
b05eb974
...
@@ -217,6 +217,8 @@ Zope Changes
...
@@ -217,6 +217,8 @@ Zope Changes
Bugs Fixed
Bugs Fixed
- Lauchpad #143736,#271395: fixed AttributeError' on _ltid in TempStorage
- 'AccessControl.ZopeGuards.guarded_import' mapped some Unauthorized
- 'AccessControl.ZopeGuards.guarded_import' mapped some Unauthorized
exceptions onto ImportErrors: don't do that! Also, removed
exceptions onto ImportErrors: don't do that! Also, removed
mutable defaults from argument list, improved tests.
mutable defaults from argument list, improved tests.
...
...
lib/python/tempstorage/TemporaryStorage.py
View file @
b05eb974
...
@@ -24,6 +24,7 @@ __version__ ='$Revision: 1.1.2.2 $'[11:-2]
...
@@ -24,6 +24,7 @@ __version__ ='$Revision: 1.1.2.2 $'[11:-2]
from
logging
import
getLogger
from
logging
import
getLogger
from
ZODB.serialize
import
referencesf
from
ZODB.serialize
import
referencesf
from
ZODB.utils
import
z64
from
ZODB
import
POSException
from
ZODB
import
POSException
from
ZODB.BaseStorage
import
BaseStorage
from
ZODB.BaseStorage
import
BaseStorage
from
ZODB.ConflictResolution
import
ConflictResolvingStorage
,
ResolvedSerial
from
ZODB.ConflictResolution
import
ConflictResolvingStorage
,
ResolvedSerial
...
@@ -72,7 +73,8 @@ class TemporaryStorage(BaseStorage, ConflictResolvingStorage):
...
@@ -72,7 +73,8 @@ class TemporaryStorage(BaseStorage, ConflictResolvingStorage):
self
.
_conflict_cache
=
{}
self
.
_conflict_cache
=
{}
self
.
_last_cache_gc
=
0
self
.
_last_cache_gc
=
0
self
.
_recently_gc_oids
=
[
None
for
x
in
range
(
RECENTLY_GC_OIDS_LEN
)]
self
.
_recently_gc_oids
=
[
None
for
x
in
range
(
RECENTLY_GC_OIDS_LEN
)]
self
.
_oid
=
'
\
0
\
0
\
0
\
0
\
0
\
0
\
0
\
0
'
self
.
_oid
=
z64
self
.
_ltid
=
z64
def
lastTransaction
(
self
):
def
lastTransaction
(
self
):
""" Return tid for last committed transaction (for ZEO) """
""" Return tid for last committed transaction (for ZEO) """
...
...
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