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
This commit is contained in:
@@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user