aboutsummaryrefslogtreecommitdiffstats
path: root/modules/paths.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-06-27 08:25:55 +0000
committerGitHub <noreply@github.com>2023-06-27 08:25:55 +0000
commit1bf01b73f478fd98d670fc3e44ffd7c71e531b0a (patch)
tree548b90c6a385897407209bd0b0bf0d4c7d54303d /modules/paths.py
parentd06af4e517865277d0521642c2c5513af9afd76f (diff)
parentba70a220e3176153ba2a559acb9e5aa692dce7ca (diff)
downloadstable-diffusion-webui-gfx803-1bf01b73f478fd98d670fc3e44ffd7c71e531b0a.tar.gz
stable-diffusion-webui-gfx803-1bf01b73f478fd98d670fc3e44ffd7c71e531b0a.tar.bz2
stable-diffusion-webui-gfx803-1bf01b73f478fd98d670fc3e44ffd7c71e531b0a.zip
Merge pull request #11046 from akx/ded-code
Remove a bunch of unused/vestigial code
Diffstat (limited to 'modules/paths.py')
-rw-r--r--modules/paths.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/modules/paths.py b/modules/paths.py
index 5171df4f..bada804e 100644
--- a/modules/paths.py
+++ b/modules/paths.py
@@ -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