{"body":"        try:\n            if self.cloud_config.get_api_version('image') == '2':\n                endpoint = '/images'\n            else:\n                endpoint = '/images/detail'\n\n            response = self._image_client.get(endpoint)\n\n        except keystoneauth1.exceptions.catalog.EndpointNotFound:\n            # We didn't have glance, let's try nova\n            # If this doesn't work - we just let the exception propagate\n            response = self._compute_client.get('/images/detail')","name":"","extension":"txt","url":"https://www.irccloud.com/pastebin/4RksW9n7","modified":1495659655,"id":"4RksW9n7","size":492,"lines":12,"own_paste":false,"theme":"","date":1495659655}