diff options
author | Mitch Garnaat <mitch@garnaat.com> | 2012-09-05 15:44:29 -0700 |
---|---|---|
committer | Mitch Garnaat <mitch@garnaat.com> | 2012-09-05 15:44:29 -0700 |
commit | c8864be2ebf1f452da90308350bdc0d17615d7a6 (patch) | |
tree | ec1ab954eda3ca06419c8adbfa42677585c28a46 /boto/regioninfo.py | |
parent | 58879d9988b063792f2996d164a226e766f15d09 (diff) | |
download | boto-c8864be2ebf1f452da90308350bdc0d17615d7a6.tar.gz |
WIP: This should be a complete set of changes to enable testing of cert verification across all services.
Diffstat (limited to 'boto/regioninfo.py')
-rw-r--r-- | boto/regioninfo.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/boto/regioninfo.py b/boto/regioninfo.py index 907385fe..6e936b37 100644 --- a/boto/regioninfo.py +++ b/boto/regioninfo.py @@ -16,16 +16,17 @@ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL- # ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -# SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +# SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. + class RegionInfo(object): """ Represents an AWS Region """ - + def __init__(self, connection=None, name=None, endpoint=None, connection_cls=None): self.connection = connection @@ -54,11 +55,9 @@ class RegionInfo(object): You may pass any of the arguments accepted by the connection class's constructor as keyword arguments and they will be passed along to the connection object. - + :rtype: Connection object :return: The connection to this regions endpoint """ if self.connection_cls: return self.connection_cls(region=self, **kw_params) - - |