Removed unused imports and variables.
Also fixes AUTHORS file. Previous version was copied directly from python-novaclient. Change-Id: I33654b6fe7197efbff300ebaf4892a8b53d85c54
This commit is contained in:
38
AUTHORS
38
AUTHORS
@@ -1,21 +1,23 @@
|
|||||||
Andrey Brindeyev <abrindeyev@griddynamics.com>
|
Adam Gandelman <adamg@canonical.com>
|
||||||
Andy Smith <github@anarkystic.com>
|
Alan Pevec <apevec@redhat.com>
|
||||||
Antony Messerli <amesserl@rackspace.com>
|
Anthony Young <sleepsonthefloor@gmail.com>
|
||||||
Brian Lamar <brian.lamar@rackspace.com>
|
Brian Waldon <bcwaldon@gmail.com>
|
||||||
Brian Waldon <brian.waldon@rackspace.com>
|
Dean Troyer <dtroyer@gmail.com>
|
||||||
Chris Behrens <cbehrens+github@codestud.com>
|
Dolph Mathews <dolph.mathews@gmail.com>
|
||||||
Christopher MacGown <ignoti+github@gmail.com>
|
|
||||||
Ed Leafe <ed@leafe.com>
|
|
||||||
Eldar Nugaev <eldr@ya.ru>
|
|
||||||
Hengqing Hu <hudayou@hotmail.com>
|
|
||||||
Ilya Alekseyev <ilyaalekseyev@acm.org>
|
|
||||||
Johannes Erdfelt <johannes.erdfelt@rackspace.com>
|
|
||||||
Josh Kearney <josh@jk0.org>
|
|
||||||
Kevin L. Mitchell <kevin.mitchell@rackspace.com>
|
|
||||||
Kirill Shileev <kshileev@griddynamics.com>
|
|
||||||
Lvov Maxim <mlvov@mirantis.com>
|
|
||||||
Matt Dietz <matt.dietz@rackspace.com>
|
|
||||||
Sandy Walsh <sandy@darksecretsoftware.com>
|
|
||||||
Gabriel Hurley <gabriel@strikeawe.com>
|
Gabriel Hurley <gabriel@strikeawe.com>
|
||||||
|
Ghe Rivero <ghe@debian.org>
|
||||||
|
Hengqing Hu <hudayou@hotmail.com>
|
||||||
|
Jenkins <jenkins@review.openstack.org>
|
||||||
|
Jesse Andrews <anotherjesse@gmail.com>
|
||||||
Joe Heck <heckj@mac.com>
|
Joe Heck <heckj@mac.com>
|
||||||
|
Josh Kearney <josh@jk0.org>
|
||||||
|
Ken Thomas <krt@yahoo-inc.com>
|
||||||
|
Monty Taylor <mordred@inaugust.com>
|
||||||
|
Thierry Carrez <thierry@openstack.org>
|
||||||
|
Tihomir Trifonov <t.trifonov@gmail.com>
|
||||||
|
Vishvananda Ishaya <vishvananda@gmail.com>
|
||||||
Yaguang Tang <heut2008@gmail.com>
|
Yaguang Tang <heut2008@gmail.com>
|
||||||
|
Zhongyue Luo <lzyeval@gmail.com>
|
||||||
|
Ziad Sawalha <github@highbridgellc.com>
|
||||||
|
jakedahn <jake@ansolabs.com>
|
||||||
|
termie <github@anarkystic.com>
|
||||||
|
@@ -11,8 +11,6 @@ OpenStack Client interface. Handles the REST calls and responses.
|
|||||||
import copy
|
import copy
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
import time
|
|
||||||
import urllib
|
|
||||||
import urlparse
|
import urlparse
|
||||||
|
|
||||||
import httplib2
|
import httplib2
|
||||||
@@ -119,7 +117,7 @@ class HTTPClient(httplib2.Http):
|
|||||||
if body:
|
if body:
|
||||||
try:
|
try:
|
||||||
body = json.loads(body)
|
body = json.loads(body)
|
||||||
except ValueError, e:
|
except ValueError:
|
||||||
_logger.debug("Could not decode JSON from body: %s" % body)
|
_logger.debug("Could not decode JSON from body: %s" % body)
|
||||||
else:
|
else:
|
||||||
_logger.debug("No body was returned.")
|
_logger.debug("No body was returned.")
|
||||||
|
@@ -37,7 +37,7 @@ class Tenant(base.Resource):
|
|||||||
description=new_description,
|
description=new_description,
|
||||||
enabled=new_enabled)
|
enabled=new_enabled)
|
||||||
self = retval
|
self = retval
|
||||||
except Exception, e:
|
except Exception:
|
||||||
retval = None
|
retval = None
|
||||||
return retval
|
return retval
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user