[master 4/4] Honor ANACONDA_WIDGETS_OVERRIDES

atodorov installerbot-noreply at redhat.com
Wed Nov 4 15:38:51 UTC 2015


From: Alexander Todorov <atodorov at redhat.com>

---
 anaconda | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/anaconda b/anaconda
index 8cb7460..2135506 100755
--- a/anaconda
+++ b/anaconda
@@ -179,6 +179,10 @@ def setupPythonUpdates():
     from distutils.sysconfig import get_python_lib
     import gi.overrides
 
+    if "ANACONDA_WIDGETS_OVERRIDES" in os.environ:
+        for path in os.environ["ANACONDA_WIDGETS_OVERRIDES"].split(":"):
+            gi.overrides.__path__.insert(0, os.path.abspath(path))
+
     # Temporary hack for F18 alpha to symlink updates and product directories
     # into tmpfs.  To be removed after beta in order to directly use content
     # from /run/install/ -- JLK


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/bf14c1a4d366efbb7c94bca64cc562b4e34031e5


More information about the anaconda-patches mailing list