summaryrefslogtreecommitdiff
path: root/keystoneclient/contrib/ec2/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'keystoneclient/contrib/ec2/utils.py')
-rw-r--r--keystoneclient/contrib/ec2/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/keystoneclient/contrib/ec2/utils.py b/keystoneclient/contrib/ec2/utils.py
index ed7ec28..2906abe 100644
--- a/keystoneclient/contrib/ec2/utils.py
+++ b/keystoneclient/contrib/ec2/utils.py
@@ -71,7 +71,8 @@ class Ec2Signer(object):
if (credentials['params']['X-Amz-Algorithm'] ==
'AWS4-HMAC-SHA256'):
return True
- except KeyError:
+ except KeyError: # nosec(cjschaef): in cases of not finding
+ # entries, simply return False
pass
return False