diff options
| author | Jamie Lennox <jamielennox@redhat.com> | 2014-12-15 13:39:11 +1000 |
|---|---|---|
| committer | Jamie Lennox <jamielennox@redhat.com> | 2015-03-28 14:22:49 +1100 |
| commit | fd2f989cca060caf05a9a7498e9bf2437e6f0b13 (patch) | |
| tree | f97ca7a425836f07cff5a7bccbd949e89b81513d /glanceclient/v1 | |
| parent | e386e441af9e2d3aac54f88c64bf4b93d481ba7f (diff) | |
| download | python-glanceclient-fd2f989cca060caf05a9a7498e9bf2437e6f0b13.tar.gz | |
Don't accept *args for client
The HTTPClient object that we are passing *args to does not accept any
args. Don't accept them from the main client interface.
Change-Id: I473bb64be95e058375ebd1e55d4bda4168c3c430
Diffstat (limited to 'glanceclient/v1')
| -rw-r--r-- | glanceclient/v1/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glanceclient/v1/client.py b/glanceclient/v1/client.py index 668ccfb..68c2a33 100644 --- a/glanceclient/v1/client.py +++ b/glanceclient/v1/client.py @@ -29,10 +29,10 @@ class Client(object): http requests. (optional) """ - def __init__(self, endpoint, *args, **kwargs): + def __init__(self, endpoint, **kwargs): """Initialize a new client for the Images v1 API.""" endpoint, version = utils.strip_version(endpoint) self.version = version or 1.0 - self.http_client = http.HTTPClient(endpoint, *args, **kwargs) + self.http_client = http.HTTPClient(endpoint, **kwargs) self.images = ImageManager(self.http_client) self.image_members = ImageMemberManager(self.http_client) |
