argument of type 'NoneType' is not iterable
Traceback (most recent call last):
File "/Users/alexstephen/.pyenv/versions/2.7.8/bin/mazer", line 10, in <module>
sys.exit(main())
File "/Users/alexstephen/.pyenv/versions/2.7.8/lib/python2.7/site-packages/ansible_galaxy_cli/main.py", line 36, in main
exit_code = cli.run()
File "/Users/alexstephen/.pyenv/versions/2.7.8/lib/python2.7/site-packages/ansible_galaxy_cli/cli/galaxy.py", line 240, in run
return self.execute()
File "/Users/alexstephen/.pyenv/versions/2.7.8/lib/python2.7/site-packages/ansible_galaxy_cli/cli/__init__.py", line 152, in execute
return fn()
File "/Users/alexstephen/.pyenv/versions/2.7.8/lib/python2.7/site-packages/ansible_galaxy_cli/cli/galaxy.py", line 323, in execute_publish
display_callback=self.display)
File "/Users/alexstephen/.pyenv/versions/2.7.8/lib/python2.7/site-packages/ansible_galaxy/actions/publish.py", line 61, in publish
display_callback=display_callback)
File "/Users/alexstephen/.pyenv/versions/2.7.8/lib/python2.7/site-packages/ansible_galaxy/actions/publish.py", line 47, in _publish
response_data = api.publish_file(form, publish_api_key)
File "/Users/alexstephen/.pyenv/versions/2.7.8/lib/python2.7/site-packages/ansible_galaxy/rest_api.py", line 55, in wrapped
server_version = self._get_server_api_version()
File "/Users/alexstephen/.pyenv/versions/2.7.8/lib/python2.7/site-packages/ansible_galaxy/rest_api.py", line 217, in _get_server_api_version
if 'current_version' not in data:
TypeError: argument of type 'NoneType' is not iterable
Bug Report
MAZER VERSION
CONFIGURATION
SUMMARY
If I run
mazer -s
with a server URL that has a trailing slash, mazer will fail.If I run
mazer -s
with a server URL that does not have a trailing slash, mazer works fine.STEPS TO REPRODUCE
EXPECTED RESULTS
Mazer works as intended.
ACTUAL RESULTS