Update python install step for python 3

urllib and print syntax updated
This commit is contained in:
Gilles Debunne 2020-04-22 10:04:25 +02:00 committed by Pedro Algarvio
parent e99e5ceeb9
commit b36d41319b
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF

View file

@ -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
~~~~~~~~~~~~~~~~~~~