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
31b1e47c
Commit
31b1e47c
authored
Nov 22, 2002
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pychecker fixes
parent
d5ce0a93
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
lib/python/BDBStorage/BDBMinimalStorage.py
lib/python/BDBStorage/BDBMinimalStorage.py
+1
-2
lib/python/BDBStorage/BerkeleyBase.py
lib/python/BDBStorage/BerkeleyBase.py
+2
-2
lib/python/BDBStorage/Minimal.py
lib/python/BDBStorage/Minimal.py
+1
-2
No files found.
lib/python/BDBStorage/BDBMinimalStorage.py
View file @
31b1e47c
...
...
@@ -15,7 +15,7 @@
"""Berkeley storage without undo or versioning.
"""
__version__
=
'$Revision: 1.1
8
$'
[
-
2
:][
0
]
__version__
=
'$Revision: 1.1
9
$'
[
-
2
:][
0
]
import
time
import
threading
...
...
@@ -465,7 +465,6 @@ class Minimal(BerkeleyBase, ConflictResolvingStorage):
if
self
.
_stop
:
raise
PackStop
,
'stopped in _collect_objs()'
oid
=
orec
[
1
]
serial
=
self
.
_getCurrentSerial
(
oid
)
# Delete the object from the serials table
c
=
self
.
_serials
.
cursor
(
txn
)
try
:
...
...
lib/python/BDBStorage/BerkeleyBase.py
View file @
31b1e47c
...
...
@@ -14,7 +14,7 @@
"""Base class for BerkeleyStorage implementations.
"""
__version__
=
'$Revision: 1.2
6
$'
.
split
()[
-
2
:][
0
]
__version__
=
'$Revision: 1.2
7
$'
.
split
()[
-
2
:][
0
]
import
os
import
time
...
...
@@ -462,7 +462,7 @@ class _WorkThread(threading.Thread):
def
stop
(
self
):
self
.
_stop
=
True
def
_dowork
(
self
):
def
_dowork
(
self
,
now
):
pass
...
...
lib/python/BDBStorage/Minimal.py
View file @
31b1e47c
...
...
@@ -15,7 +15,7 @@
"""Berkeley storage without undo or versioning.
"""
__version__
=
'$Revision: 1.1
8
$'
[
-
2
:][
0
]
__version__
=
'$Revision: 1.1
9
$'
[
-
2
:][
0
]
import
time
import
threading
...
...
@@ -465,7 +465,6 @@ class Minimal(BerkeleyBase, ConflictResolvingStorage):
if
self
.
_stop
:
raise
PackStop
,
'stopped in _collect_objs()'
oid
=
orec
[
1
]
serial
=
self
.
_getCurrentSerial
(
oid
)
# Delete the object from the serials table
c
=
self
.
_serials
.
cursor
(
txn
)
try
:
...
...
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