Insert, not append explicit xcbgen dir python path
authorJames Jones <jajones@nvidia.com>
Thu, 12 May 2011 06:22:22 +0000 (23:22 -0700)
committerJamey Sharp <jamey@minilop.net>
Thu, 12 May 2011 06:49:39 +0000 (23:49 -0700)
commit662ad589c5d6f03757ae57a926d3800bfb528b30
tree11c5783c848f5948394292f6947f52fd3428431d
parent294c9f455c3534d836b010dacd2e7aa62a7dde9d
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@nvidia.com>
Signed-off-by: Jamey Sharp <jamey@minilop.net>
src/c_client.py