[Checkins] SVN: mongopersist/trunk/src/mongopersist/interfaces.py Add docstring to error class.

Stephen Richter cvs-admin at zope.org
Fri Mar 30 14:31:49 UTC 2012


Log message for revision 124803:
  Add docstring to error class.

Changed:
  U   mongopersist/trunk/src/mongopersist/interfaces.py

-=-
Modified: mongopersist/trunk/src/mongopersist/interfaces.py
===================================================================
--- mongopersist/trunk/src/mongopersist/interfaces.py	2012-03-30 07:56:24 UTC (rev 124802)
+++ mongopersist/trunk/src/mongopersist/interfaces.py	2012-03-30 14:31:44 UTC (rev 124803)
@@ -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):



More information about the checkins mailing list