diff options
| author | Trey Morris <trey.morris@rackspace.com> | 2010-12-29 13:04:41 -0600 |
|---|---|---|
| committer | Trey Morris <trey.morris@rackspace.com> | 2010-12-29 13:04:41 -0600 |
| commit | 3a85ba4fa4215737731b2e755abfa350c509e46f (patch) | |
| tree | c6f02a7be0e5a669831dcea4e1e62c1ce99c886d | |
| parent | 8aea573bd2e44e152fb4ef1627640bab1818dede (diff) | |
syntax error
| -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 46e65ca83..7744815fc 100644 --- a/nova/api/openstack/servers.py +++ b/nova/api/openstack/servers.py @@ -47,11 +47,11 @@ def checks_lock(function): # grab args to function try: - if 'req' is in kwargs: + if 'req' in kwargs: req = kwargs['req'] else: req = args[1] - if 'id' is in kwargs: + if 'id' in kwargs: _id = kwargs['id'] else: req = args[2] |
