[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/workflow/stateful/browser/definition.py Converted XXX to statement and TODO.

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Jul 9 11:44:54 EDT 2004


Log message for revision 26298:

Converted XXX to statement and TODO.




-=-
Modified: Zope3/trunk/src/zope/app/workflow/stateful/browser/definition.py
===================================================================
--- Zope3/trunk/src/zope/app/workflow/stateful/browser/definition.py	2004-07-09 15:44:52 UTC (rev 26297)
+++ Zope3/trunk/src/zope/app/workflow/stateful/browser/definition.py	2004-07-09 15:44:54 UTC (rev 26298)
@@ -45,9 +45,9 @@
         return self.context.getProcessDefinition()
 
 
-# XXX Temporary ...
+# TODO: Temporary ...
 class StateAddFormHelper:
-    # XXX Hack to prevent from displaying an empty addform
+    # Hack to prevent from displaying an empty addform
     def __call__(self, template_usage=u'', *args, **kw):
         if not len(self.fieldNames):
             self.request.form[Update] = 'submitted'
@@ -166,7 +166,7 @@
 
 class AddTransition(BrowserView):
 
-    # XXX This could and should be handled by a Vocabulary Field/Widget
+    # TODO: This could and should be handled by a Vocabulary Field/Widget
     def getStateNames(self):
         pd = self.context.getProcessDefinition()
         states = removeAllProxies(pd.getStateNames())



More information about the Zope3-Checkins mailing list