From 862b53623ba193fd91e86f4f22d367b1e08e2816 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 7 Apr 2004 21:58:04 +0000 Subject: [PATCH] fix for self.root == None git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wxPython/config.py b/wxPython/config.py index f5d5321577..baa5c9dfa2 100644 --- a/wxPython/config.py +++ b/wxPython/config.py @@ -408,7 +408,7 @@ class wx_install_headers(distutils.command.install_headers.install_headers): return root = self.root - if WXPREFIX.startswith(root): + if root is None or WXPREFIX.startswith(root): root = '' for header, location in headers: install_dir = os.path.normpath(root + WXPREFIX + location) -- 2.47.2