diff options
| author | Christian Breunig <christian@breunig.cc> | 2025-06-23 22:26:03 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2025-06-23 22:26:03 +0200 |
| commit | 6281059dc5de3a906b63c59b0b71050ea0022446 (patch) | |
| tree | 76186319261b6b2933d815b7f104b4fc0b1a3075 | |
| parent | a4e2f96b133a9f753b6b9fd4686f3ff2a8694dfe (diff) | |
| download | vyos-1x-6281059dc5de3a906b63c59b0b71050ea0022446.tar.gz vyos-1x-6281059dc5de3a906b63c59b0b71050ea0022446.zip | |
T7355: periodical cleanup of unused Python3 import statements
| -rw-r--r-- | python/vyos/config.py | 1 | ||||
| -rwxr-xr-x | src/conf_mode/nat.py | 1 | ||||
| -rwxr-xr-x | src/helpers/teardown-config-session.py | 3 |
3 files changed, 0 insertions, 5 deletions
diff --git a/python/vyos/config.py b/python/vyos/config.py index 9ae0467d4..f1086cd6e 100644 --- a/python/vyos/config.py +++ b/python/vyos/config.py @@ -62,7 +62,6 @@ while functions prefixed "effective" return values from the running config. In operational mode, all functions return values from the running config. """ -import os import re import json from typing import Union diff --git a/src/conf_mode/nat.py b/src/conf_mode/nat.py index a938021ba..564438237 100755 --- a/src/conf_mode/nat.py +++ b/src/conf_mode/nat.py @@ -23,7 +23,6 @@ from vyos.base import Warning from vyos.config import Config from vyos.configdep import set_dependents, call_dependents from vyos.template import render -from vyos.template import is_ip_network from vyos.utils.kernel import check_kmod from vyos.utils.dict import dict_search from vyos.utils.dict import dict_search_args diff --git a/src/helpers/teardown-config-session.py b/src/helpers/teardown-config-session.py index c94876924..8d13e34cb 100755 --- a/src/helpers/teardown-config-session.py +++ b/src/helpers/teardown-config-session.py @@ -13,11 +13,8 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -# -# import sys -import os from vyos.vyconf_session import VyconfSession |
