diff options
| author | Yuriy Taraday <yorik.sar@gmail.com> | 2012-03-06 12:47:47 +0400 |
|---|---|---|
| committer | Yuriy Taraday <yorik.sar@gmail.com> | 2012-03-16 01:24:12 +0400 |
| commit | a123f26a3f99bd0382ca48706dbfa363e11a9619 (patch) | |
| tree | e708e710234e39741e52d1119407b4277997d365 /nova/api | |
| parent | 4012a3f792ca5958616b31f7594f200d18665d71 (diff) | |
HACKING fixes, TODO authors.
Looks like this fixes all HACKING problems that were around.
Thanks to Dina Belova and Alexander Kovalev for this work.
Change-Id: I63ae1ab2f1bb37daa236cde4096c3c893fd80dd2
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/ec2/apirequest.py | 2 | ||||
| -rw-r--r-- | nova/api/openstack/common.py | 2 | ||||
| -rw-r--r-- | nova/api/openstack/compute/contrib/virtual_storage_arrays.py | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/nova/api/ec2/apirequest.py b/nova/api/ec2/apirequest.py index 809883299..82259136a 100644 --- a/nova/api/ec2/apirequest.py +++ b/nova/api/ec2/apirequest.py @@ -64,7 +64,7 @@ class APIRequest(object): _error = _('Unsupported API request: controller = %(controller)s,' ' action = %(action)s') % locals() LOG.exception(_error) - # TODO: Raise custom exception, trap in apiserver, + # TODO(gundlach): Raise custom exception, trap in apiserver, # and reraise as 400 error. raise exception.InvalidRequest() diff --git a/nova/api/openstack/common.py b/nova/api/openstack/common.py index 719a74bb9..040e8be00 100644 --- a/nova/api/openstack/common.py +++ b/nova/api/openstack/common.py @@ -277,7 +277,7 @@ def check_img_metadata_quota_limit(context, metadata): def dict_to_query_str(params): - # TODO: we should just use urllib.urlencode instead of this + # TODO(throughnothing): we should just use urllib.urlencode instead of this # But currently we don't work with urlencoded url's param_str = "" for key, val in params.iteritems(): diff --git a/nova/api/openstack/compute/contrib/virtual_storage_arrays.py b/nova/api/openstack/compute/contrib/virtual_storage_arrays.py index 168f82605..6c8a58c21 100644 --- a/nova/api/openstack/compute/contrib/virtual_storage_arrays.py +++ b/nova/api/openstack/compute/contrib/virtual_storage_arrays.py @@ -596,7 +596,7 @@ class VsaVCController(servers.Controller): def __init__(self): self.vsa_api = vsa_api.API() self.compute_api = compute.API() - self.vsa_id = None # VP-TODO: temporary ugly hack + self.vsa_id = None # VP-TODO(vladimir.p): temporary ugly hack super(VsaVCController, self).__init__() def _get_servers(self, req, is_detail): @@ -624,7 +624,7 @@ class VsaVCController(servers.Controller): LOG.audit(_("Index instances for VSA %s"), vsa_id) - self.vsa_id = vsa_id # VP-TODO: temporary ugly hack + self.vsa_id = vsa_id # VP-TODO(vladimir.p): temporary ugly hack result = super(VsaVCController, self).detail(req) self.vsa_id = None return result |
