From cd3c1f343fc96b75c12a7774a6f7bb99f1d2aedc Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 9 Feb 2020 10:45:06 +0100 Subject: snmp: T1931: delete obsolete reading of oldEngineID --- src/conf_mode/snmp.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/conf_mode/snmp.py b/src/conf_mode/snmp.py index cd63d6d62..dc17939d3 100755 --- a/src/conf_mode/snmp.py +++ b/src/conf_mode/snmp.py @@ -767,10 +767,6 @@ def apply(snmp): with open(config_file_user, 'r') as f: engineID = '' for line in f: - if line.startswith('oldEngineID'): - string = line.split(' ') - engineID = string[1] - if line.startswith('usmUser'): string = line.split(' ') cfg = { -- cgit v1.2.3