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 /fdoor_cout.py | |
parent | 99561b834dbd9d52b83aa7b0fb980431fa1aa056 (diff) | |
download | pyevenja-eeb9927c89d6d2425a74c33ff8773bceba39af1c.zip pyevenja-eeb9927c89d6d2425a74c33ff8773bceba39af1c.tar.gz |
Diffstat (limited to 'fdoor_cout.py')
-rw-r--r-- | fdoor_cout.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/fdoor_cout.py b/fdoor_cout.py index 322596b..31507bc 100644 --- a/fdoor_cout.py +++ b/fdoor_cout.py @@ -20,7 +20,7 @@ # """ doc """ - + __all__ = ["Fdoor_cout"] @@ -30,13 +30,13 @@ from sys import stdout class Fdoor_cout(FevenDoor): - def __init__(self): - FevenDoor.__init__(self) # force constructor - - def __str__(self): - return "\t"+FevenDoor.__str__(self)+\ - "Fdoor_cout - (null)\n" - - def receive_evenData(self,evenData): - stdout.write("%s"%evenData.getData("TXT")) - return RET_OK + def __init__(self): + FevenDoor.__init__(self) # force constructor + + def __str__(self): + return "\t"+FevenDoor.__str__(self)+\ + "Fdoor_cout - (null)\n" + + def receive_evenData(self,evenData): + stdout.write("%s"%evenData.getData("TXT")) + return RET_OK |