From 9aaf84cc9910389e666a5577f5f8d155d2c1636b Mon Sep 17 00:00:00 2001 From: Nirmal Ranganathan Date: Wed, 13 Jun 2012 15:32:11 -0500 Subject: [PATCH] Removing flavor detail/index and just sticking with flavor list which is the default --- reddwarfclient/flavors.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/reddwarfclient/flavors.py b/reddwarfclient/flavors.py index a205fcc1..6bd280bb 100644 --- a/reddwarfclient/flavors.py +++ b/reddwarfclient/flavors.py @@ -48,26 +48,10 @@ class Flavors(base.ManagerWithFind): """ Get a list of all flavors. - :rtype: list of :class:`Flavor`. - """ - return self.detail() - - def index(self): - """ - Get a list of all flavors. - :rtype: list of :class:`Flavor`. """ return self._list("/flavors", "flavors") - def detail(self): - """ - Get the details of all flavors. - - :rtype: list of :class:`Flavor`. - """ - return self._list("/flavors/detail", "flavors") - def get(self, flavor): """ Get a specific flavor.