Changeset 199

Show
Ignore:
Timestamp:
04/05/06 10:39:42 (3 years ago)
Author:
matt
Message:

Only clear up managed resources if there were no errors returned from the form's
callback.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/formal/form.py

    r196 r199  
    182182 
    183183        def _clearUpResources( r ): 
    184             self.resourceManager.clearUpResources() 
     184            if not errors: 
     185                self.resourceManager.clearUpResources() 
    185186            return r 
    186187