Make cloudfront_info work with Python3 … (#66695)
* Make cloudfront_info work with Python3 by using dict.update(dict) instead of dict += dict. * Added changelog fragment for cloudfront_info fix
This commit is contained in:
parent
3dbc03d58a
commit
aad286b403
2 changed files with 3 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- Make cloudfront_info module work with Python 3
|
|
@ -504,7 +504,7 @@ class CloudFrontServiceManager:
|
|||
try:
|
||||
distribution_id = ""
|
||||
distributions = self.list_distributions(False)
|
||||
distributions += self.list_streaming_distributions(False)
|
||||
distributions.update(self.list_streaming_distributions(False))
|
||||
for dist in distributions:
|
||||
if 'Items' in dist['Aliases']:
|
||||
for alias in dist['Aliases']['Items']:
|
||||
|
|
Loading…
Add table
Reference in a new issue