* Unify docker module version checks. * Improve messages depending on required docker-py versions. * Linting.
* Remove redundant assignation of variable Found with https://lgtm.com/ * Fix check_mode when force_update is used
Due to a change in python 3 filters return filter instead of list. This breaks the network name to id lookup for the docker_swarm_module. By wrapping it in list it ensures it is a list when returned and the id is extracted.