Remove unused imports and fix NameError on exc
Change-Id: Ie35ccd7abaada74acb298ace97ae88eb0e0cce1e
This commit is contained in:
parent
2438869655
commit
90212e9317
@ -10,8 +10,6 @@ OpenStack Client interface. Handles the REST calls and responses.
|
||||
import httplib2
|
||||
import logging
|
||||
import os
|
||||
import time
|
||||
import urllib
|
||||
import urlparse
|
||||
|
||||
from novaclient import service_catalog
|
||||
@ -240,7 +238,7 @@ class HTTPClient(httplib2.Http):
|
||||
|
||||
def _v1_auth(self, url):
|
||||
if self.proxy_token:
|
||||
raise NoTokenLookupException()
|
||||
raise exceptions.NoTokenLookupException()
|
||||
|
||||
headers = {'X-Auth-User': self.user,
|
||||
'X-Auth-Key': self.password}
|
||||
|
Loading…
x
Reference in New Issue
Block a user