From 361ea15f5da672bc0aec9d0b7bd7244591a286e2 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 13 Apr 2012 17:37:34 -0700 Subject: dohtml: support FEATURES=force-prefix --- bin/dohtml.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/dohtml.py') diff --git a/bin/dohtml.py b/bin/dohtml.py index 122daf3f5..f0a7f2cf6 100755 --- a/bin/dohtml.py +++ b/bin/dohtml.py @@ -91,7 +91,8 @@ class OptionsClass: if "PF" in os.environ: self.PF = os.environ["PF"] - if os.environ.get("EAPI", "0") in ("0", "1", "2"): + if "force-prefix" not in os.environ.get("FEATURES", "").split() and \ + os.environ.get("EAPI", "0") in ("0", "1", "2"): self.ED = os.environ.get("D", "") else: self.ED = os.environ.get("ED", "") -- cgit v1.2.3-1-g7c22