parent
24bffb1d10
commit
1364e967a2
@ -1,15 +0,0 @@
|
||||
Index: boto/boto/connection.py
|
||||
===================================================================
|
||||
--- boto.orig/boto/connection.py
|
||||
+++ boto/boto/connection.py
|
||||
@@ -891,8 +891,8 @@ class AWSAuthConnection(object):
|
||||
# the port info. All others should be now be up to date and
|
||||
# not include the port.
|
||||
if 's3' not in self._required_auth_capability():
|
||||
- self.set_host_header(request)
|
||||
-
|
||||
+ if not getattr(self, 'anon', False):
|
||||
+ self.set_host_header(request)
|
||||
if callable(sender):
|
||||
response = sender(connection, request.method, request.path,
|
||||
request.body, request.headers)
|
@ -1,26 +0,0 @@
|
||||
Index: boto-2.9.9/boto/ec2/autoscale/policy.py
|
||||
===================================================================
|
||||
--- boto-2.9.9.orig/boto/ec2/autoscale/policy.py
|
||||
+++ boto-2.9.9/boto/ec2/autoscale/policy.py
|
||||
@@ -47,16 +47,17 @@ class Alarm(object):
|
||||
class AdjustmentType(object):
|
||||
def __init__(self, connection=None):
|
||||
self.connection = connection
|
||||
- self.adjustment_types = ListElement([])
|
||||
+ self.adjustment_type = None
|
||||
|
||||
def __repr__(self):
|
||||
- return 'AdjustmentType:%s' % self.adjustment_types
|
||||
+ return 'AdjustmentType:%s' % self.adjustment_type
|
||||
|
||||
def startElement(self, name, attrs, connection):
|
||||
- if name == 'AdjustmentType':
|
||||
- return self.adjustment_types
|
||||
+ return
|
||||
|
||||
def endElement(self, name, value, connection):
|
||||
+ if name == 'AdjustmentType':
|
||||
+ self.adjustment_type = value
|
||||
return
|
||||
|
||||
|
Loading…
Reference in new issue