flow: fix actor repr

This commit is contained in:
Sebastien Bourdeauducq 2012-06-07 15:48:35 +02:00
parent 680a34465d
commit a1fc86af8f
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class Actor:
return self.get_control_fragment() + self.get_process_fragment() return self.get_control_fragment() + self.get_process_fragment()
def __repr__(self): def __repr__(self):
return "<" + self.__class__.__name__ + " " + repr(self.scheduling_model) + " " + repr(self.sinks()) + " " + repr(self.sources()) + ">" return "<" + self.__class__.__name__ + " " + repr(self.sinks()) + " " + repr(self.sources()) + ">"
class BinaryActor(Actor): class BinaryActor(Actor):
def get_binary_control_fragment(self, stb_i, ack_o, stb_o, ack_i): def get_binary_control_fragment(self, stb_i, ack_o, stb_o, ack_i):