changeset 621:a8d1eb833705

FormBase: use new style class, fix comment
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 25 Mar 2013 16:50:50 +0100
parents d26cf328e8f9
children 12465aa315be
files data/plugin/macro/FormBase.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/macro/FormBase.py	Mon Mar 25 16:43:50 2013 +0100
+++ b/data/plugin/macro/FormBase.py	Mon Mar 25 16:50:50 2013 +0100
@@ -15,7 +15,7 @@
 from MoinMoin import wikiutil
 
 
-class FormBase:
+class FormBase(object):
 
     debug = False
     
@@ -63,7 +63,7 @@
             except FormValidationError:
                 return self.msg
             except Exception, e:
-                """ TODO: Log exception """
+                # TODO: Log exception
                 self.output = self._("Error - %s") % e
                             
             return self.output