Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
Add docstring to error class.
Browse files Browse the repository at this point in the history
  • Loading branch information
strichter committed Mar 30, 2012
1 parent 71c6cf0 commit 98e0194
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mongopersist/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
objectid.ObjectId, dbref.DBRef)

class ConflictError(transaction.interfaces.TransientError):
"""An error raised when a write conflict is detected."""

def __init__(self, message=None, object=None,
orig_state=None, cur_state=None, new_state=None):
Expand Down

0 comments on commit 98e0194

Please sign in to comment.