summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-08-18 08:02:51 +0200
committerChristian Breunig <christian@breunig.cc>2024-08-18 08:02:51 +0200
commit94ace019c8d37f364abd46723fbbabcd8473cade (patch)
treeaccf5f41cd156a3a514a76b42decf3a36a922a38 /python
parent003209eeab231675e82abb8cf6eab7ca0384bc3f (diff)
downloadvyos-1x-94ace019c8d37f364abd46723fbbabcd8473cade.tar.gz
vyos-1x-94ace019c8d37f364abd46723fbbabcd8473cade.zip
xml: T6650: fix unused ArgumentTypeError imported from argparse
Diffstat (limited to 'python')
-rwxr-xr-xpython/vyos/xml_ref/generate_op_cache.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/python/vyos/xml_ref/generate_op_cache.py b/python/vyos/xml_ref/generate_op_cache.py
index e93b07974..cd2ac890e 100755
--- a/python/vyos/xml_ref/generate_op_cache.py
+++ b/python/vyos/xml_ref/generate_op_cache.py
@@ -13,15 +13,13 @@
#
# 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 re
import sys
import json
import glob
+
from argparse import ArgumentParser
-from argparse import ArgumentTypeError
from os.path import join
from os.path import abspath
from os.path import dirname