summaryrefslogtreecommitdiff
path: root/demoapp
diff options
context:
space:
mode:
authorDoug Hellmann <doug.hellmann@dreamhost.com>2012-06-20 17:27:08 -0400
committerDoug Hellmann <doug.hellmann@dreamhost.com>2012-06-20 17:27:08 -0400
commit83469ad81a27f0b264bd93904b2b172fd889cad9 (patch)
tree5767811612dbf0c0918b4d798bacc56cb5120283 /demoapp
parent9bb0a4a13acfce6a0924514b883417875a1143dc (diff)
downloadcliff-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.py4
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')