diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-04-13 21:16:12 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-04-13 21:16:12 +0200 |
commit | eeb9927c89d6d2425a74c33ff8773bceba39af1c (patch) | |
tree | e5e770fc041fa27b6e13a78dc9c3dc3f75c7c213 /fprg_concat.py | |
parent | 99561b834dbd9d52b83aa7b0fb980431fa1aa056 (diff) | |
download | pyevenja-master.zip pyevenja-master.tar.gz |
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 |