changeset 1844:58ebb64243cc

added TODO for error handling in PageEditor
author tw@server.firma.waldmann-edv.de
date Thu, 01 Mar 2007 16:02:00 +0100
parents b978764e1234
children 6ccc22836dd1
files MoinMoin/PageEditor.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/PageEditor.py	Thu Mar 01 09:27:16 2007 +0100
+++ b/MoinMoin/PageEditor.py	Thu Mar 01 16:02:00 2007 +0100
@@ -583,7 +583,8 @@
                 _('Page "%s" was successfully deleted!') % (self.page_name,))
 
         except self.SaveError, message:
-            # XXX Error handling
+            # XXX do not only catch base class SaveError here, but
+            # also the derived classes, so we can give better err msgs
             success = False
             msg = "SaveError has occured in PageEditor.deletePage. We need locking there."