From b36d41319bfac03cf2889305d073b9629d7a7d26 Mon Sep 17 00:00:00 2001 From: Gilles Debunne <63719587+gdebunne@users.noreply.github.com> Date: Wed, 22 Apr 2020 10:04:25 +0200 Subject: [PATCH] Update python install step for python 3 urllib and print syntax updated --- README.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.rst b/README.rst index 3eb8ad3..121feb7 100644 --- a/README.rst +++ b/README.rst @@ -152,6 +152,11 @@ All Python versions should support the following in-line code: python -c 'import urllib; print urllib.urlopen("https://bootstrap.saltstack.com").read()' > bootstrap-salt.sh sudo sh bootstrap-salt.sh git develop +or with python version 3: + +.. code:: console + + python -c 'import urllib.request; print(urllib.request.urlopen("https://bootstrap.saltstack.com").read())' > bootstrap-salt.sh Install using fetch ~~~~~~~~~~~~~~~~~~~