def _get_docker_py_versioninfo():
 try:
  return docker.version_info
 except AttributeError:
  pass

def _get_docker_py_versioninfo ( ) : try : return docker . version_info except AttributeError : pass
returns the version_info tuple from docker-py .