diff options
author | Doug Hellmann <doug.hellmann@gmail.com> | 2012-04-22 15:21:02 -0700 |
---|---|---|
committer | Doug Hellmann <doug.hellmann@gmail.com> | 2012-04-22 15:21:02 -0700 |
commit | 6fdfe6dbf193e917388847a6baa95faa34b28c76 (patch) | |
tree | e3c341b9a0b841845ecafa7507e11bdc2768d0bb /demoapp | |
parent | 276e8a4694575d15bf6c722f758343d4ca635495 (diff) | |
download | cliff-tablib-6fdfe6dbf193e917388847a6baa95faa34b28c76.tar.gz |
Pass the I/O streams into the app
Diffstat (limited to 'demoapp')
-rw-r--r-- | demoapp/cliffdemo/simple.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demoapp/cliffdemo/simple.py b/demoapp/cliffdemo/simple.py index 1d449d0..5e8e98e 100644 --- a/demoapp/cliffdemo/simple.py +++ b/demoapp/cliffdemo/simple.py @@ -11,7 +11,7 @@ class Simple(Command): def run(self, parsed_args): self.log.info('sending greeting') self.log.debug('debugging') - print('hi!') + self.app.stdout.write('hi!\n') class Error(Command): |