salt/scripts/salt-api
Erik Johnson bb03f4a0ee Update scripts/* to explicitly reference Python 3
Since the master branch no longer supports Python 2, and many distros
still default /usr/bin/python to Python 2, this commit changes the
scripts to explicitly call Python 3.
2020-05-07 16:58:40 -07:00

7 lines
120 B
Python
Executable file

#!/usr/bin/env python3
# Import salt libs
from salt.scripts import salt_api
if __name__ == "__main__":
salt_api()