[Patchew-devel] [PATCH 3/6] settings: Drop dead code for openshift
Fam Zheng
famz at redhat.com
Wed Oct 31 01:28:53 UTC 2018
Signed-off-by: Fam Zheng <famz at 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
More information about the Patchew-devel
mailing list