commit | f32c41519eae34129467bf904d63ca1ab1567259 | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Mon May 14 15:34:40 2018 +0200 |
committer | Pau Espin Pedrol <pespin@sysmocom.de> | Mon May 14 15:34:40 2018 +0200 |
tree | 23d832fc94cc3b5ae2f1e4ceddcebc538fad5ef4 | |
parent | 155a355e01d63669912ad0cfe2a1969b486373fb [diff] [blame] |
util: Fix unloading of suite lib import path Change-Id: Iac81151f5baec092a3d15bbe6541b5bc007e6a03
diff --git a/src/osmo_gsm_tester/util.py b/src/osmo_gsm_tester/util.py index c7efb77..27c71cf 100644 --- a/src/osmo_gsm_tester/util.py +++ b/src/osmo_gsm_tester/util.py
@@ -119,7 +119,7 @@ def import_path_remove(pathname): dir = os.path.realpath(pathname) - if dir not in sys.path: + if dir in sys.path: sys.path.remove(dir) class listdict(dict):