[Zope3-checkins] CVS: Zope3/src/zope/app/workflow/stateful - instance.py:1.9.4.1

Sidnei da Silva sidnei at x3ng.com.br
Wed Aug 13 11:13:27 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/workflow/stateful
In directory cvs.zope.org:/tmp/cvs-serv2857/src/zope/app/workflow/stateful

Modified Files:
      Tag: dreamcatcher-ttwschema-branch
	instance.py 
Log Message:
Whitespace and DOS line endings.


=== Zope3/src/zope/app/workflow/stateful/instance.py 1.9 => 1.9.4.1 ===
--- Zope3/src/zope/app/workflow/stateful/instance.py:1.9	Thu Jul 31 11:01:36 2003
+++ Zope3/src/zope/app/workflow/stateful/instance.py	Wed Aug 13 10:12:53 2003
@@ -117,17 +117,17 @@
                    'getChecker', 'getSchema') or \
                key.startswith('_p_'):
             return super(RelevantData, self).__setattr__(key, value)
-            
+
         is_schema_field = self.__schema is not None and \
                           key in getFields(self.__schema).keys()
 
         if is_schema_field:
-            process = getWrapperContainer(self) 
+            process = getWrapperContainer(self)
             # Send an Event before RelevantData changes
             oldvalue = getattr(self, key, None)
             publish(self, BeforeRelevantDataChangeEvent(
                 process, self.__schema, key, oldvalue, value))
-            
+
         super(RelevantData, self).__setattr__(key, value)
 
         if is_schema_field:
@@ -166,10 +166,10 @@
         data = Proxy(self._data, self._data.getChecker())
         return ContextWrapper(data, self, name="data")
 
-    data = ContextProperty(getData) 
+    data = ContextProperty(getData)
 
     def initialize(self):
-        """See zope.app.interfaces.workflow.IStatefulProcessInstance""" 
+        """See zope.app.interfaces.workflow.IStatefulProcessInstance"""
         pd = self.getProcessDefinition()
         clean_pd = removeAllProxies(pd)
         self._status = clean_pd.getInitialStateName()
@@ -189,14 +189,14 @@
     initialize = ContextMethod(initialize)
 
     def getOutgoingTransitions(self):
-        """See zope.app.interfaces.workflow.IStatefulProcessInstance""" 
+        """See zope.app.interfaces.workflow.IStatefulProcessInstance"""
         pd = self.getProcessDefinition()
         clean_pd = removeAllProxies(pd)
         return self._outgoingTransitions(clean_pd)
     getOutgoingTransitions = ContextMethod(getOutgoingTransitions)
 
     def fireTransition(self, id):
-        """See zope.app.interfaces.workflow.IStatefulProcessInstance""" 
+        """See zope.app.interfaces.workflow.IStatefulProcessInstance"""
         pd = self.getProcessDefinition()
         clean_pd = removeAllProxies(pd)
         if not id in self._outgoingTransitions(clean_pd):
@@ -288,7 +288,7 @@
             if self.status == trans.sourceState:
                 # check permissions
                 permission = trans.permission
-                # 
+                #
                 if (permission is not None
                     and permission is not CheckerPublic
                     and not sm.checkPermission(permission, self)




More information about the Zope3-Checkins mailing list