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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
30746649
Commit
30746649
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
2b3f3ba5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
trunk/src/ZODB/FileStorage.py
trunk/src/ZODB/FileStorage.py
+4
-5
No files found.
trunk/src/ZODB/FileStorage.py
View file @
30746649
...
@@ -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
...
@@ -238,7 +237,7 @@ class CorruptedTransactionError(CorruptedFileStorageError): pass
...
@@ -238,7 +237,7 @@ class CorruptedTransactionError(CorruptedFileStorageError): pass
class
CorruptedDataError
(
CorruptedFileStorageError
):
pass
class
CorruptedDataError
(
CorruptedFileStorageError
):
pass
class
FileStorageQuotaError
(
FileStorageError
,
class
FileStorageQuotaError
(
FileStorageError
,
POSException
.
StorageSystemError
):
POSException
.
StorageSystemError
):
"""File storage quota exceeded
"""File storage quota exceeded
"""
"""
...
...
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