summaryrefslogtreecommitdiff
path: root/glanceclient/v1/client.py
diff options
context:
space:
mode:
authorCindy Pallares <cindy.pallaresq@gmail.com>2015-05-19 19:59:06 -0500
committerCindy Pallares <cindy.pallaresq@gmail.com>2015-06-17 10:56:37 -0500
commit997c12d3abfd9a571a4e8f0b022dfb1d27c62edb (patch)
tree5ab2346452416876492d076c33dbb1c29db9edc9 /glanceclient/v1/client.py
parent71d852836474f59f10a7bb9883f6dcecc56e5675 (diff)
downloadpython-glanceclient-997c12d3abfd9a571a4e8f0b022dfb1d27c62edb.tar.gz
Import only modules and update tox.ini
As stated in the OpenStack Hacking Guidelines, it is prefered that only modules should be imported. Also updated tox.ini to ignore opestack/common among others. Change-Id: I2f0a603c31052eadee581c11880c0ec6bd392829
Diffstat (limited to 'glanceclient/v1/client.py')
-rw-r--r--glanceclient/v1/client.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/glanceclient/v1/client.py b/glanceclient/v1/client.py
index b36f306..066867d 100644
--- a/glanceclient/v1/client.py
+++ b/glanceclient/v1/client.py
@@ -15,8 +15,8 @@
from glanceclient.common import http
from glanceclient.common import utils
-from glanceclient.v1.image_members import ImageMemberManager
-from glanceclient.v1.images import ImageManager
+from glanceclient.v1 import image_members
+from glanceclient.v1 import images
class Client(object):
@@ -33,5 +33,5 @@ class Client(object):
"""Initialize a new client for the Images v1 API."""
endpoint, self.version = utils.endpoint_version_from_url(endpoint, 1.0)
self.http_client = http.get_http_client(endpoint=endpoint, **kwargs)
- self.images = ImageManager(self.http_client)
- self.image_members = ImageMemberManager(self.http_client)
+ self.images = images.ImageManager(self.http_client)
+ self.image_members = image_members.ImageMemberManager(self.http_client)