diff options
| author | Masanori Itoh <itoumsn@nttdata.co.jp> | 2011-04-13 02:11:36 +0900 |
|---|---|---|
| committer | Masanori Itoh <itoumsn@nttdata.co.jp> | 2011-04-13 02:11:36 +0900 |
| commit | 32d081f8f0a50b87f7b5d3f5bab4cf4ba92b1b4d (patch) | |
| tree | 7975120d233b9836e84ef93307cc22ddbc333c76 /nova/auth | |
| parent | 4893fae4854a9b39c151a806cd7b22c319c87160 (diff) | |
| download | nova-32d081f8f0a50b87f7b5d3f5bab4cf4ba92b1b4d.tar.gz nova-32d081f8f0a50b87f7b5d3f5bab4cf4ba92b1b4d.tar.xz nova-32d081f8f0a50b87f7b5d3f5bab4cf4ba92b1b4d.zip | |
Blushed up a little bit.
Diffstat (limited to 'nova/auth')
| -rw-r--r-- | nova/auth/manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/auth/manager.py b/nova/auth/manager.py index c8a3a46a2..01aa87e31 100644 --- a/nova/auth/manager.py +++ b/nova/auth/manager.py @@ -317,7 +317,7 @@ class AuthManager(object): if signature != expected_signature: host_only = utils.get_host_only_server_string(server_string) # If the given server_string contains port num, try without it. - if host_only is not '': + if host_only != '': host_only_signature = signer.Signer( user.secret.encode()).generate(params, verb, host_only, path) |
