diff options
author | Mitch.Garnaat <Mitch.Garnaat@604d75c7-a419-0410-a38f-bde1a0bd1dbf> | 2009-12-05 03:04:15 +0000 |
---|---|---|
committer | Mitch.Garnaat <Mitch.Garnaat@604d75c7-a419-0410-a38f-bde1a0bd1dbf> | 2009-12-05 03:04:15 +0000 |
commit | 07c307c4f7d43fd8ae98e720919b325e1f037239 (patch) | |
tree | f449209a133663a4e8772332def245969e0fc4a4 | |
parent | fd02f84a4af98b1fc9064bc98803e9a2d348b3a2 (diff) | |
download | boto-07c307c4f7d43fd8ae98e720919b325e1f037239.tar.gz |
Fixed host name problem
-rw-r--r-- | boto/ec2/connection.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/boto/ec2/connection.py b/boto/ec2/connection.py index b8be0e23..36ff5b0d 100644 --- a/boto/ec2/connection.py +++ b/boto/ec2/connection.py @@ -44,18 +44,20 @@ from boto.ec2.instanceinfo import InstanceInfo from boto.ec2.reservedinstance import ReservedInstancesOffering, ReservedInstance from boto.exception import EC2ResponseError +boto.set_stream_logger('ec2') + class EC2Connection(AWSQueryConnection): APIVersion = boto.config.get('Boto', 'ec2_version', '2009-10-31') DefaultRegionName = boto.config.get('Boto', 'ec2_region_name', 'us-east-1') DefaultRegionEndpoint = boto.config.get('Boto', 'ec2_region_endpoint', - 'ec2-pinotage.amazonaws.com') + 'ec2.amazonaws.com') SignatureVersion = '2' ResponseError = EC2ResponseError def __init__(self, aws_access_key_id=None, aws_secret_access_key=None, is_secure=True, host=None, port=None, proxy=None, proxy_port=None, - proxy_user=None, proxy_pass=None, debug=0, + proxy_user=None, proxy_pass=None, debug=2, https_connection_factory=None, region=None, path='/'): """ Init method to create a new connection to EC2. |