Transform static AstakosClient._cache to member
authorStavros Sachtouris <saxtouri@admin.grnet.gr>
Wed, 13 Mar 2013 13:47:19 +0000 (15:47 +0200)
committerStavros Sachtouris <saxtouri@admin.grnet.gr>
Wed, 13 Mar 2013 13:47:19 +0000 (15:47 +0200)
kamaki/clients/astakos/__init__.py

index 529b95d..deb941f 100644 (file)
@@ -37,10 +37,9 @@ from kamaki.clients import Client, ClientError
 class AstakosClient(Client):
     """GRNet Astakos API client"""
 
-    _cache = {}
-
     def __init__(self, base_url, token):
         super(AstakosClient, self).__init__(base_url, token)
+        self._cache = {}
 
     def authenticate(self, token=None):
         """Get authentication information and store it in this client