[Checkins] SVN:	zope.fssync/branches/achapman-error-collection/src/zope/fssync/README.txt	- show catching of multiple exceptions
    Alex Chapman 
    cvs-admin at zope.org
       
    Thu Mar 15 14:10:10 UTC 2012
    
    
  
Log message for revision 124612:
   - show catching of multiple exceptions
  
Changed:
  U   zope.fssync/branches/achapman-error-collection/src/zope/fssync/README.txt
-=-
Modified: zope.fssync/branches/achapman-error-collection/src/zope/fssync/README.txt
===================================================================
--- zope.fssync/branches/achapman-error-collection/src/zope/fssync/README.txt	2012-03-15 13:58:53 UTC (rev 124611)
+++ zope.fssync/branches/achapman-error-collection/src/zope/fssync/README.txt	2012-03-15 14:10:07 UTC (rev 124612)
@@ -825,12 +825,16 @@
         ...
     Exception: 1,2,3
 
-    >>> commit.synchNew = old_sync_new
+Notice that if we encounter multiple exceptions we print them all
+out at the end.
+
     >>> old_sync_old = commit.synchOld
     >>> commit.synchOld = bad_sync
     >>> commit.perform(target, 'root', 'test')
     Traceback (most recent call last):
         ...
     Exception: 1,2,3
+    1,2,3
 
+    >>> commit.synchNew = old_sync_new
     >>> commit.synchOld = old_sync_old
    
    
More information about the checkins
mailing list