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
pull/67000/head
Stefan Horning 5 years ago committed by GitHub
parent 3dbc03d58a
commit aad286b403
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save