diff options
| author | Cerberus <matt.dietz@rackspace.com> | 2010-12-22 21:14:06 -0600 |
|---|---|---|
| committer | Cerberus <matt.dietz@rackspace.com> | 2010-12-22 21:14:06 -0600 |
| commit | 12a9dc88f6ae947d005568dd2e644566cd1a9677 (patch) | |
| tree | e4de8fd9928343da2c9b4ab2fb23e9fc001ae894 /nova/api | |
| parent | 775958e3a020b6b4b4c9fd4777aa72f7e9b0bdbc (diff) | |
And the common module
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/common.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/nova/api/openstack/common.py b/nova/api/openstack/common.py index 29e9a8623..83919cc23 100644 --- a/nova/api/openstack/common.py +++ b/nova/api/openstack/common.py @@ -1,3 +1,20 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright 2010 OpenStack LLC. +# All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + def limited(items, req): """Return a slice of items according to requested offset and limit. |
