[Xcb-commit] src
Jamey Sharp
jamey at kemper.freedesktop.org
Wed May 11 23:53:55 PDT 2011
src/c_client.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 662ad589c5d6f03757ae57a926d3800bfb528b30
Author: James Jones <jajones at nvidia.com>
Date: Wed May 11 23:22:22 2011 -0700
Insert, not append explicit xcbgen dir python path
If a the path to the xcb python generate libs is
explicitly specified to c_client.py, insert it in
the python path list just after the local dir entry,
rather than appending it to the existing paths.
This keeps a global/distro install of xcb from
overriding a local build of the xcb proto files.
Signed-off-by: James Jones <jajones at nvidia.com>
Signed-off-by: Jamey Sharp <jamey at minilop.net>
diff --git a/src/c_client.py b/src/c_client.py
index 3e77e9e..ef245c5 100644
--- a/src/c_client.py
+++ b/src/c_client.py
@@ -2290,7 +2290,7 @@ except getopt.GetoptError as err:
for (opt, arg) in opts:
if opt == '-p':
- sys.path.append(arg)
+ sys.path.insert(1, arg)
# Import the module class
try:
More information about the xcb-commit
mailing list