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
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
Nicolas Wavrant
ZODB
Commits
249bbd79
Commit
249bbd79
authored
Nov 30, 2005
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix recurring typo: occured --> occurred
parent
20322290
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
src/ZEO/Exceptions.py
src/ZEO/Exceptions.py
+1
-1
src/ZODB/FileStorage/FileStorage.py
src/ZODB/FileStorage/FileStorage.py
+1
-1
src/ZODB/POSException.py
src/ZODB/POSException.py
+2
-2
src/transaction/_transaction.py
src/transaction/_transaction.py
+1
-1
No files found.
src/ZEO/Exceptions.py
View file @
249bbd79
...
...
@@ -16,7 +16,7 @@
from
ZODB.POSException
import
StorageError
class
ClientStorageError
(
StorageError
):
"""An error occured in the ZEO Client Storage."""
"""An error occur
r
ed in the ZEO Client Storage."""
class
UnrecognizedResult
(
ClientStorageError
):
"""A server call returned an unrecognized result."""
...
...
src/ZODB/FileStorage/FileStorage.py
View file @
249bbd79
...
...
@@ -890,7 +890,7 @@ class FileStorage(BaseStorage.BaseStorage,
self
.
_file
.
write
(
p64
(
tl
))
self
.
_file
.
flush
()
except
:
# Hm, an error occured writing out the data. Maybe the
# Hm, an error occur
r
ed writing out the data. Maybe the
# disk is full. We don't want any turd at the end.
self
.
_file
.
truncate
(
self
.
_pos
)
raise
...
...
src/ZODB/POSException.py
View file @
249bbd79
...
...
@@ -31,7 +31,7 @@ class POSKeyError(KeyError, POSError):
return
oid_repr
(
self
.
args
[
0
])
class
TransactionError
(
POSError
):
"""An error occured due to normal transaction processing."""
"""An error occur
r
ed due to normal transaction processing."""
class
TransactionFailedError
(
POSError
):
"""Cannot perform an operation on a transaction that previously failed.
...
...
@@ -252,7 +252,7 @@ class UndoError(POSError):
return
_fmt_undo
(
self
.
_oid
,
self
.
_reason
)
class
MultipleUndoErrors
(
UndoError
):
"""Several undo errors occured during a single transaction."""
"""Several undo errors occur
r
ed during a single transaction."""
def
__init__
(
self
,
errs
):
# provide a reason and oid for clients that only look at that
...
...
src/transaction/_transaction.py
View file @
249bbd79
...
...
@@ -443,7 +443,7 @@ class Transaction(object):
# TODO: do we need to make this warning stronger?
# TODO: It would be nice if the system could be configured
# to stop committing transactions at this point.
self
.
log
.
critical
(
"A storage error occured during the second "
self
.
log
.
critical
(
"A storage error occur
r
ed during the second "
"phase of the two-phase commit. Resources "
"may be in an inconsistent state."
)
raise
...
...
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