summaryrefslogtreecommitdiff
path: root/barbicanclient/base.py
diff options
context:
space:
mode:
authorjfwood <john.wood@rackspace.com>2013-11-25 16:52:44 -0600
committerjfwood <john.wood@rackspace.com>2013-11-25 16:52:44 -0600
commitfb6e4ab6c4dd7f2d61c8dce6a96839eeb83c0fab (patch)
treea54237fe2679607c4d345bb8ef86db9903ddb9a0 /barbicanclient/base.py
parent9948609fab0916ec02a637615270c6afa58ef9ad (diff)
downloadpython-barbicanclient-fb6e4ab6c4dd7f2d61c8dce6a96839eeb83c0fab.tar.gz
Add remaining verification unit test and keep files/mods.
Diffstat (limited to 'barbicanclient/base.py')
-rw-r--r--barbicanclient/base.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/barbicanclient/base.py b/barbicanclient/base.py
index 5e63f88..0736e5f 100644
--- a/barbicanclient/base.py
+++ b/barbicanclient/base.py
@@ -26,13 +26,3 @@ class BaseEntityManager(object):
for k in dictionary.keys():
if dictionary[k] is None:
dictionary.pop(k)
-
- def total(self):
- """
- Returns the total number of entities stored in Barbican.
- """
- href = '{0}/{1}'.format(self.api.base_url, self.entity)
- params = {'limit': 0, 'offset': 0}
- resp = self.api.get(href, params)
-
- return resp['total']