diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-11-20 21:09:20 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-11-20 21:09:20 +0000 |
| commit | 9ee8b4a71d51b4325eb5721034d04ce0cbcb1593 (patch) | |
| tree | ed8c69c082a1a12f1a08690ef14391156b1da345 /openstackclient | |
| parent | 319fc09430d3e0ba7a3d7895d1d3a483edfcdc1b (diff) | |
| parent | 1a8020cc1b7a47ad5c910673ce3d279687bbaa14 (diff) | |
| download | python-openstackclient-9ee8b4a71d51b4325eb5721034d04ce0cbcb1593.tar.gz | |
Merge "Remove deprecated 'project usage list' command"
Diffstat (limited to 'openstackclient')
| -rw-r--r-- | openstackclient/compute/v2/usage.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/openstackclient/compute/v2/usage.py b/openstackclient/compute/v2/usage.py index 6d5d678f..4e7cf100 100644 --- a/openstackclient/compute/v2/usage.py +++ b/openstackclient/compute/v2/usage.py @@ -196,20 +196,3 @@ class ShowUsage(show.ShowOne): float("%.2f" % usage.total_local_gb_usage) if hasattr(usage, "total_local_gb_usage") else None) return zip(*sorted(six.iteritems(info))) - - -# This is out of order due to the subclass, will eventually be removed - -class ListProjectUsage(ListUsage): - """List resource usage per project""" - - deprecated = True - - log = logging.getLogger('DEPRECATED:') - - def take_action(self, parsed_args): - self.log.warning( - "%s is deprecated, use 'usage list'", - getattr(self, 'cmd_name', 'this command'), - ) - return super(ListProjectUsage, self).take_action(parsed_args) |
