diff options
author | Doug Hellmann <doug.hellmann@dreamhost.com> | 2012-06-20 17:27:08 -0400 |
---|---|---|
committer | Doug Hellmann <doug.hellmann@dreamhost.com> | 2012-06-20 17:27:08 -0400 |
commit | 83469ad81a27f0b264bd93904b2b172fd889cad9 (patch) | |
tree | 5767811612dbf0c0918b4d798bacc56cb5120283 /demoapp | |
parent | 9bb0a4a13acfce6a0924514b883417875a1143dc (diff) | |
download | cliff-83469ad81a27f0b264bd93904b2b172fd889cad9.tar.gz |
Doc updates for API changes.1.0
Clean up docstrings.
Bump version to 1.0.
Change-Id: I1047c637ffed4ffac8bffbdaa1bddc56895716d9
Diffstat (limited to 'demoapp')
-rw-r--r-- | demoapp/cliffdemo/simple.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demoapp/cliffdemo/simple.py b/demoapp/cliffdemo/simple.py index 5e8e98e..3800514 100644 --- a/demoapp/cliffdemo/simple.py +++ b/demoapp/cliffdemo/simple.py @@ -8,7 +8,7 @@ class Simple(Command): log = logging.getLogger(__name__) - def run(self, parsed_args): + def take_action(self, parsed_args): self.log.info('sending greeting') self.log.debug('debugging') self.app.stdout.write('hi!\n') @@ -19,6 +19,6 @@ class Error(Command): log = logging.getLogger(__name__) - def run(self, parsed_args): + def take_action(self, parsed_args): self.log.info('causing error') raise RuntimeError('this is the expected exception') |