From 893c87b662e09fcc9d78e2f8a43fed3d9b921c0b Mon Sep 17 00:00:00 2001 From: ZhiQiang Fan Date: Wed, 28 Aug 2013 23:54:52 +0800 Subject: [PATCH] Remove duplicate method in AccessInfo Closes-Bug: #1217777 Method has_service_catalog is duplicate in AccessInfo, remove the first one because this class is used as a base class. Change-Id: Id5f6f0cfe223bd4f31b7c01a6bc1e750ad5a7cd8 --- keystoneclient/access.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/keystoneclient/access.py b/keystoneclient/access.py index 483e8935c..53cb0ffd7 100644 --- a/keystoneclient/access.py +++ b/keystoneclient/access.py @@ -61,9 +61,6 @@ class AccessInfo(dict): self.service_catalog = service_catalog.ServiceCatalog.factory( resource_dict=self, region_name=self.get('region_name')) - def has_service_catalog(self): - return 'serviceCatalog' in self - def will_expire_soon(self, stale_duration=None): """Determines if expiration is about to occur.