diff options
author | zlibd <52056480+zlibd@users.noreply.github.com> | 2022-06-29 05:24:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-29 05:24:01 -0400 |
commit | 9e5bbd134120b9a5436665124326ddb2d5aa5f87 (patch) | |
tree | f428d2f8dd542d659d87886cd18d6e2d5ee2c253 /docs | |
parent | b0544eab8dfbe583686c1fdb98241eaee6d11d8f (diff) | |
download | vyos-documentation-9e5bbd134120b9a5436665124326ddb2d5aa5f87.tar.gz vyos-documentation-9e5bbd134120b9a5436665124326ddb2d5aa5f87.zip |
Updated syntax to python3
Diffstat (limited to 'docs')
-rw-r--r-- | docs/automation/command-scripting.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/automation/command-scripting.rst b/docs/automation/command-scripting.rst index 7cf31232..db4724cd 100644 --- a/docs/automation/command-scripting.rst +++ b/docs/automation/command-scripting.rst @@ -83,10 +83,10 @@ Here is a simple example: .. code-block:: python - #!/usr/bin/env python - print "delete firewall group address-group somehosts" - print "set firewall group address-group somehosts address '192.0.2.3'" - print "set firewall group address-group somehosts address '203.0.113.55'" + #!/usr/bin/env python3 + print("delete firewall group address-group somehosts") + print("set firewall group address-group somehosts address '192.0.2.3'") + print("set firewall group address-group somehosts address '203.0.113.55'") .. code-block:: none |