Closed bluehawksky closed 6 years ago
File "/root/workspace/env/lib/python3.6/site-packages/aliyunsdkcore/profile/region_provider.py", line 130, in convert_dict_to_endpointsxml content += ''+item.keys()[0]+'\n' TypeError: 'dict_keys' object does not support indexing
For python3, dict keys is not list
是的,已经修复了
File "/root/workspace/env/lib/python3.6/site-packages/aliyunsdkcore/profile/region_provider.py", line 130, in convert_dict_to_endpointsxml content += ''+item.keys()[0]+' \n'
TypeError: 'dict_keys' object does not support indexing
For python3, dict keys is not list