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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystoneclient/contrib/ec2/utils.py b/keystoneclient/contrib/ec2/utils.py
index f7fb8a1..dcd3ff5 100644
--- a/keystoneclient/contrib/ec2/utils.py
+++ b/keystoneclient/contrib/ec2/utils.py
@@ -225,7 +225,7 @@ class Ec2Signer(object):
# port if we detect an old boto version. FIXME: remove when all
# distros package boto >= 2.9.3, this is a transitional workaround
user_agent = headers_lower.get('user-agent', '')
- strip_port = re.match('Boto/2.[0-9].[0-2]', user_agent)
+ strip_port = re.match('Boto/2\.[0-9]\.[0-2]', user_agent)
header_list = []
sh_str = auth_param('SignedHeaders')