[Zope3-checkins] SVN: Zope3/trunk/src/zope/wfmc/process.py When I
converted %s to %r I forgot to remove the quotes.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Aug 2 16:32:52 EDT 2005
Log message for revision 37661:
When I converted %s to %r I forgot to remove the quotes.
Changed:
U Zope3/trunk/src/zope/wfmc/process.py
-=-
Modified: Zope3/trunk/src/zope/wfmc/process.py
===================================================================
--- Zope3/trunk/src/zope/wfmc/process.py 2005-08-02 19:50:15 UTC (rev 37660)
+++ Zope3/trunk/src/zope/wfmc/process.py 2005-08-02 20:32:52 UTC (rev 37661)
@@ -164,7 +164,7 @@
self.outgoing = self.transition_outgoing
def __repr__(self):
- return "<ActivityDefinition '%r'>" %self.__name__
+ return "<ActivityDefinition %r>" %self.__name__
def always_true(data):
@@ -181,7 +181,7 @@
self.condition = condition
def __repr__(self):
- return "TransitionDefinition(from='%r', to='%r')" %(self.from_, self.to)
+ return "TransitionDefinition(from=%r, to=%r)" %(self.from_, self.to)
class Process(persistent.Persistent):
@@ -475,8 +475,7 @@
if param.input == True])
output = u', '.join([param.__name__ for param in self.parameters
if param.output == True])
- return "<Application '%r': (%r) --> (%r)>" %(self.__name__,
- input, output)
+ return "<Application %r: (%r) --> (%r)>" %(self.__name__, input, output)
class Participant:
@@ -487,4 +486,4 @@
self.__name__ = name
def __repr__(self):
- return "Participant('%r')" %self.__name__
+ return "Participant(%r)" %self.__name__
More information about the Zope3-Checkins
mailing list