Skip to content
Browse files

Fixed host name problem

  • Loading branch information...
1 parent fd02f84 commit 07c307c4f7d43fd8ae98e720919b325e1f037239 Mitch.Garnaat committed Dec 5, 2009
Showing with 4 additions and 2 deletions.
  1. +4 −2 boto/ec2/connection.py
View
6 boto/ec2/connection.py
@@ -44,18 +44,20 @@
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.

0 comments on commit 07c307c

Please sign in to comment.
Something went wrong with that request. Please try again.