mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
Updated syntax to python3
This commit is contained in:
parent
b0544eab8d
commit
9e5bbd1341
@ -83,10 +83,10 @@ Here is a simple example:
|
|||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
print "delete firewall group address-group somehosts"
|
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 '192.0.2.3'")
|
||||||
print "set firewall group address-group somehosts address '203.0.113.55'"
|
print("set firewall group address-group somehosts address '203.0.113.55'")
|
||||||
|
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user