summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/common_config.py
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2023-12-14 05:46:24 -0800
committerGitHub <noreply@github.com>2023-12-14 05:46:24 -0800
commit0d57a9a9546c26021e70ba5986823f8520e581ea (patch)
treea52f9704128a5f32e09beb5b7c74aff1d71dd70a /tests/topotests/lib/common_config.py
parent5e87eae543df6d841cfb812ecaf01f7afd4ef76a (diff)
parent73ce39c443b0942537f7357cd64dcc8294b61d85 (diff)
Merge pull request #14890 from louis-6wind/exabgp4
topotests: convert to exabgp 4 and python3
Diffstat (limited to 'tests/topotests/lib/common_config.py')
-rw-r--r--tests/topotests/lib/common_config.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/topotests/lib/common_config.py b/tests/topotests/lib/common_config.py
index e19d96f918..598db84e63 100644
--- a/tests/topotests/lib/common_config.py
+++ b/tests/topotests/lib/common_config.py
@@ -14,6 +14,7 @@ import socket
import subprocess
import sys
import traceback
+import configparser
from collections import OrderedDict
from copy import deepcopy
from datetime import datetime, timedelta
@@ -21,12 +22,6 @@ from functools import wraps
from re import search as re_search
from time import sleep
-try:
- # Imports from python2
- import ConfigParser as configparser
-except ImportError:
- # Imports from python3
- import configparser
from lib.micronet import comm_error
from lib.topogen import TopoRouter, get_topogen