diff options
| author | Chris Behrens <cbehrens@codestud.com> | 2011-07-18 03:02:50 -0700 |
|---|---|---|
| committer | Chris Behrens <cbehrens@codestud.com> | 2011-07-18 03:02:50 -0700 |
| commit | bfee5105a2e557a28a605778599e99308f2a126e (patch) | |
| tree | f728c38aa46fb252c4405937c9a2c7eaf01777ce /nova/api | |
| parent | a6968a100d2a2409094f7b434a88c700ebb876f3 (diff) | |
| download | nova-bfee5105a2e557a28a605778599e99308f2a126e.tar.gz nova-bfee5105a2e557a28a605778599e99308f2a126e.tar.xz nova-bfee5105a2e557a28a605778599e99308f2a126e.zip | |
typos
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/servers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/api/openstack/servers.py b/nova/api/openstack/servers.py index f470c59e3..9bfcf585b 100644 --- a/nova/api/openstack/servers.py +++ b/nova/api/openstack/servers.py @@ -58,7 +58,7 @@ def check_option_permissions(context, specified_options, known_options = user_api_options # Check for unknown query string params. - spec_unknown_opts = [for opt in specified_options + spec_unknown_opts = [opt for opt in specified_options if opt not in known_options] if spec_unknown_opts: unknown_opt_str = ", ".join(spec_unknown_opts) @@ -67,7 +67,7 @@ def check_option_permissions(context, specified_options, # Check for admin context for the admin commands if not context.is_admin: - spec_admin_opts = [for opt in specified_options + spec_admin_opts = [opt for opt in specified_options if opt in admin_api_options] if spec_admin_opts: admin_opt_str = ", ".join(admin_opts) |
