diff options
Diffstat (limited to 'fprg_concat.py')
-rw-r--r-- | fprg_concat.py | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/fprg_concat.py b/fprg_concat.py index 8ce3556..dc3f308 100644 --- a/fprg_concat.py +++ b/fprg_concat.py @@ -30,24 +30,24 @@ from evenjastrings import ACT_END class Fdoor_concat(FevenPrg): - def __init__(self): - FevenPrg.__init__(self) # force construstor - - def __str__(self): - return "\t"+FevenPrg.__str__(self)+\ - "Fdoor_concat - (null)\n" - - def receive_evenData(self,evenData): - evenDataB = evenData.getEvenDataB() - - str = evenData.getData("TXT") - str += evenDataB.getData("TXT") - evenData.setData("TXT",str) - evenData.resetDestination() - evenData.addDestination("printf") - self.sendEvenData(evenData) - - evenDataB.definePortAction(ACT_END) - self.sendEvenData(evenDataB) - - return RET_OK + def __init__(self): + FevenPrg.__init__(self) # force construstor + + def __str__(self): + return "\t"+FevenPrg.__str__(self)+\ + "Fdoor_concat - (null)\n" + + def receive_evenData(self,evenData): + evenDataB = evenData.getEvenDataB() + + str = evenData.getData("TXT") + str += evenDataB.getData("TXT") + evenData.setData("TXT",str) + evenData.resetDestination() + evenData.addDestination("printf") + self.sendEvenData(evenData) + + evenDataB.definePortAction(ACT_END) + self.sendEvenData(evenDataB) + + return RET_OK |