From 35cad4a2ef00339eb31d80458bafaada41a5d8ce Mon Sep 17 00:00:00 2001 From: hgangwx Date: Wed, 30 Dec 2015 19:42:15 +0800 Subject: [PATCH] Wrong usage of "a" Wrong usage of "a" in the messages: "build a etree.XML object" "Return a object representing the list" Should be: "build an etree.XML object" "Return an object representing the list" Totally 2 occurrences in keystoneauth base code. Change-Id: I0299e16d5340b4f062e119dc95a529b812f7606c --- keystoneauth1/access/access.py | 2 +- keystoneauth1/extras/_saml2/v3/adfs.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/keystoneauth1/access/access.py b/keystoneauth1/access/access.py index 82a2ee7b..b6687378 100644 --- a/keystoneauth1/access/access.py +++ b/keystoneauth1/access/access.py @@ -358,7 +358,7 @@ class AccessInfo(object): @property def service_providers(self): - """Return a object representing the list of trusted service providers. + """Return an object representing the list of trusted service providers. Used for Keystone2Keystone federating-out. diff --git a/keystoneauth1/extras/_saml2/v3/adfs.py b/keystoneauth1/extras/_saml2/v3/adfs.py index 76a38084..df792aa8 100644 --- a/keystoneauth1/extras/_saml2/v3/adfs.py +++ b/keystoneauth1/extras/_saml2/v3/adfs.py @@ -387,7 +387,7 @@ class Password(base.BaseSAMLPlugin): This is a multistep process: * Prepare ADFS Request Securty Token - - build a etree.XML object filling certain attributes with proper user + build an etree.XML object filling certain attributes with proper user credentials, created/expires dates (ticket is be valid for 120 seconds as currently we don't handle reusing ADFS issued security tokens).