summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-04-13 07:15:16 +0200
committerChristian Breunig <christian@breunig.cc>2025-04-13 07:15:16 +0200
commitea1ec2fba73b0a085a6228d6a18714b002d5e466 (patch)
tree064cc2689acaeff3be02212a2b62701749ac787f /src/conf_mode
parent4fbfbec70dbee79fd01a766ce3b780fb24e096f9 (diff)
downloadvyos-1x-ea1ec2fba73b0a085a6228d6a18714b002d5e466.tar.gz
vyos-1x-ea1ec2fba73b0a085a6228d6a18714b002d5e466.zip
T7355: cleanup unused Python3 imports
Some unused import statements sneaked into the codebase. This is about cleaning them up
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/system_login.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/conf_mode/system_login.py b/src/conf_mode/system_login.py
index 3fed6d273..4febb6494 100755
--- a/src/conf_mode/system_login.py
+++ b/src/conf_mode/system_login.py
@@ -15,7 +15,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import os
-import warnings
from passlib.hosts import linux_context
from psutil import users
@@ -30,12 +29,9 @@ from vyos.config import Config
from vyos.configverify import verify_vrf
from vyos.template import render
from vyos.template import is_ipv4
-from vyos.utils.auth import (
- DEFAULT_PASSWORD,
- EPasswdStrength,
- evaluate_strength,
- get_current_user
-)
+from vyos.utils.auth import EPasswdStrength
+from vyos.utils.auth import evaluate_strength
+from vyos.utils.auth import get_current_user
from vyos.utils.configfs import delete_cli_node
from vyos.utils.configfs import add_cli_node
from vyos.utils.dict import dict_search