Glance client no longer isa http client

If the client has-a http_client, then is must not be an is-a.  This has been tested with the current version of glanceclient and the master branch.

Closes-Bug: #1269821
Change-Id: I14d67eb094bfb4c2dbc07106343488298b6a9409
This commit is contained in:
Terry Howe 2014-01-21 10:45:52 -07:00
parent 81d33a524d
commit ecc4fb330d
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class Client_v1(gc_v1_client.Client):
def __init__(self, *args, **kwargs):
super(Client_v1, self).__init__(*args, **kwargs)
self.images = ImageManager_v1(self)
self.images = ImageManager_v1(getattr(self, 'http_client', self))
class ImageManager_v1(gc_v1_images.ImageManager):