[Zope3-checkins]
SVN: Zope3/branches/Zope-3.1/src/zope/wfmc/process.py
Backport rev. 37620.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Mon Aug 1 11:11:32 EDT 2005
Log message for revision 37623:
Backport rev. 37620.
Changed:
U Zope3/branches/Zope-3.1/src/zope/wfmc/process.py
-=-
Modified: Zope3/branches/Zope-3.1/src/zope/wfmc/process.py
===================================================================
--- Zope3/branches/Zope-3.1/src/zope/wfmc/process.py 2005-08-01 15:03:03 UTC (rev 37622)
+++ Zope3/branches/Zope-3.1/src/zope/wfmc/process.py 2005-08-01 15:11:32 UTC (rev 37623)
@@ -164,7 +164,7 @@
self.outgoing = self.transition_outgoing
def __repr__(self):
- return "<ActivityDefinition '%s'>" %self.__name__
+ return "<ActivityDefinition '%r'>" %self.__name__
def always_true(data):
@@ -181,7 +181,7 @@
self.condition = condition
def __repr__(self):
- return "TransitionDefinition(from='%s', to='%s')" %(self.from_, self.to)
+ return "TransitionDefinition(from='%r', to='%r')" %(self.from_, self.to)
class Process(persistent.Persistent):
@@ -471,11 +471,11 @@
self.parameters += parameters
def __repr__(self):
- input = ', '.join([param.__name__ for param in self.parameters
+ input = u', '.join([param.__name__ for param in self.parameters
if param.input == True])
- output = ', '.join([param.__name__ for param in self.parameters
+ output = u', '.join([param.__name__ for param in self.parameters
if param.output == True])
- return "<Application '%s': (%s) --> (%s)>" %(self.__name__,
+ return "<Application '%r': (%r) --> (%r)>" %(self.__name__,
input, output)
@@ -487,4 +487,4 @@
self.__name__ = name
def __repr__(self):
- return "Participant('%s')" %self.__name__
+ return "Participant('%r')" %self.__name__
More information about the Zope3-Checkins
mailing list