summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnkur Rishi <ankur.rishi@gmail.com>2014-04-24 11:28:14 -0700
committerRuslan Kamaldinov <rkamaldinov@mirantis.com>2014-04-29 13:21:41 +0400
commit0caacfbb8547dce79d028d49e9531e25d3621420 (patch)
treee595a9c5921762dbde33145de886e7dc7d23feca
parente2f0887fe856ff2a69526afcd158b135322e093d (diff)
for pkg list, make include_disabled default Falserelease-0.5
Notes
Notes (review): Verified+2: Jenkins Code-Review+2: Dmitry Teselkin <dteselkin@mirantis.com> Workflow+1: Dmitry Teselkin <dteselkin@mirantis.com> Code-Review+2: Timur Sufiev <tsufiev@mirantis.com> Submitted-by: Jenkins Submitted-at: Tue, 29 Apr 2014 13:07:15 +0000 Reviewed-on: https://review.openstack.org/90953 Project: stackforge/python-muranoclient Branch: refs/heads/release-0.5
-rw-r--r--muranoclient/v1/packages.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/muranoclient/v1/packages.py b/muranoclient/v1/packages.py
index 8e670c9..a0c3700 100644
--- a/muranoclient/v1/packages.py
+++ b/muranoclient/v1/packages.py
@@ -65,8 +65,8 @@ class PackageManager(base.Manager):
65 url = '?'.join(['/v1/catalog/packages', query_str]) 65 url = '?'.join(['/v1/catalog/packages', query_str])
66 return self._list(url, 'packages') 66 return self._list(url, 'packages')
67 67
68 def list(self): 68 def list(self, include_disabled=False):
69 return self.filter() 69 return self.filter(include_disabled=include_disabled)
70 70
71 def delete(self, app_id): 71 def delete(self, app_id):
72 return self._delete('/v1/catalog/packages/{0}'.format(app_id)) 72 return self._delete('/v1/catalog/packages/{0}'.format(app_id))