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
a1627c94
Commit
a1627c94
authored
May 09, 2001
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify defn of UndoError.
Use types module rather than type(). Fix indentation nit.
parent
5a1fdd8a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
src/ZODB/FileStorage.py
src/ZODB/FileStorage.py
+4
-5
No files found.
src/ZODB/FileStorage.py
View file @
a1627c94
...
@@ -184,13 +184,12 @@
...
@@ -184,13 +184,12 @@
# may have a back pointer to a version record or to a non-version
# may have a back pointer to a version record or to a non-version
# record.
# record.
#
#
__version__
=
'$Revision: 1.5
6
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.5
7
$'
[
11
:
-
2
]
import
struct
,
time
,
os
,
bpthread
,
string
,
base64
,
sys
import
struct
,
time
,
os
,
bpthread
,
string
,
base64
,
sys
from
struct
import
pack
,
unpack
from
struct
import
pack
,
unpack
from
cPickle
import
loads
from
cPickle
import
loads
import
POSException
from
POSException
import
UndoError
UndoError
=
POSException
.
UndoError
from
TimeStamp
import
TimeStamp
from
TimeStamp
import
TimeStamp
from
lock_file
import
lock_file
from
lock_file
import
lock_file
from
utils
import
t32
,
p64
,
U64
,
cp
from
utils
import
t32
,
p64
,
U64
,
cp
...
@@ -203,7 +202,7 @@ import ConflictResolution
...
@@ -203,7 +202,7 @@ import ConflictResolution
try
:
from
posix
import
fsync
try
:
from
posix
import
fsync
except
:
fsync
=
None
except
:
fsync
=
None
StringType
=
type
(
''
)
from
types
import
StringType
z64
=
'
\
0
'
*
8
z64
=
'
\
0
'
*
8
...
...
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