summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngus Salkeld <asalkeld@mirantis.com>2014-09-24 14:20:15 +1000
committerAngus Salkeld <asalkeld@mirantis.com>2014-09-24 14:20:15 +1000
commit346e1634000e8c55e6ec85d0cdcc21126f6d81ad (patch)
tree386676738189324888ae9f172c512d3b31a71cea
parent21b81cc7ccf11882a943f6c972a856d715ec1f61 (diff)
downloadpython-heatclient-346e1634000e8c55e6ec85d0cdcc21126f6d81ad.tar.gz
Add a required 'args' to do_list()
It seems all do_*() functions need an "args" parameter. Although it's deprecated, it should still work. Change-Id: Id4f392b275ca231bdea584a0d68ec177c5ebeaaa Closes-bug: #1373219
-rw-r--r--heatclient/v1/shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/heatclient/v1/shell.py b/heatclient/v1/shell.py
index 5f728f4..3032956 100644
--- a/heatclient/v1/shell.py
+++ b/heatclient/v1/shell.py
@@ -477,7 +477,7 @@ def do_stack_cancel_update(hc, args):
do_stack_list(hc)
-def do_list(hc):
+def do_list(hc, args):
'''DEPRECATED! Use stack-list instead.'''
logger.warning('DEPRECATED! Use stack-list instead.')
do_stack_list(hc)