Remove a bunch of unused/vestigial code

As found by Vulture and some eyes
This commit is contained in:
Aarni Koskela
2023-06-05 22:20:29 +03:00
parent 0895c2369c
commit ba70a220e3
7 changed files with 0 additions and 89 deletions

View File

@@ -38,17 +38,3 @@ for d, must_exist, what, options in path_dirs:
else:
sys.path.append(d)
paths[what] = d
class Prioritize:
def __init__(self, name):
self.name = name
self.path = None
def __enter__(self):
self.path = sys.path.copy()
sys.path = [paths[self.name]] + sys.path
def __exit__(self, exc_type, exc_val, exc_tb):
sys.path = self.path
self.path = None