Signed-off-by: Fam Zheng <famz@redhat.com>
---
patchew/settings.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/patchew/settings.py b/patchew/settings.py
index 65a3b29..16f60a5 100644
--- a/patchew/settings.py
+++ b/patchew/settings.py
@@ -101,9 +101,6 @@ def env_detect():
if "PATCHEW_DATA_DIR" in os.environ:
# Docker deployment
return False, os.environ.get("PATCHEW_DATA_DIR")
- elif "OPENSHIFT_DATA_DIR" in os.environ:
- # OpenShift deployment
- return False, os.environ.get("OPENSHIFT_DATA_DIR")
elif "VIRTUAL_ENV" in os.environ or os.environ.get("PATCHEW_DEBUG", False):
# Development setup
return True, os.path.join(os.environ.get("VIRTUAL_ENV",
--
2.17.2
_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://www.redhat.com/mailman/listinfo/patchew-devel