summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorBrian Lamar <brian.lamar@rackspace.com>2011-02-28 14:49:03 -0500
committerBrian Lamar <brian.lamar@rackspace.com>2011-02-28 14:49:03 -0500
commit05a96b320cf1d6b911b0edb11df0ed408a894e77 (patch)
treed08600d2ac9fd748fec1e052eb9faedab7a679ce /nova/exception.py
parent4aa2ffe87744d3653c741d4d3e019114e3e9e5bf (diff)
downloadnova-05a96b320cf1d6b911b0edb11df0ed408a894e77.tar.gz
nova-05a96b320cf1d6b911b0edb11df0ed408a894e77.tar.xz
nova-05a96b320cf1d6b911b0edb11df0ed408a894e77.zip
Edited `nova.api.openstack.common:limited` method to raise an HTTPBadRequest
exception if a negative limit or offset is given. I'm not confident that this is the correct approach, because I guess this method could be called out of an API/WSGI context, but the method *is* located in the OpenStack API module and is currently only used in WSGI-capable methods, so we should be safe.
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions