Bug 501657 - Put local python modules at the beginning of the python path, not the end, tested by Jory Pratt

This commit is contained in:
Benjamin Smedberg
2009-07-13 12:28:59 -04:00
parent 8302858492
commit cfb37730f2
2 changed files with 1 additions and 3 deletions

View File

@@ -212,6 +212,7 @@ dom_quickstubs.cpp: $(srcdir)/dom_quickstubs.qsconf \
$(topsrcdir)/xpcom/idl-parser/xpidl.py \
$(DEPTH)/js/src/mozilla-config.h
$(PYTHON) $(topsrcdir)/config/pythonpath.py \
-I$(topsrcdir)/other-licenses/ply \
-I$(topsrcdir)/xpcom/idl-parser \
$(srcdir)/qsgen.py \
--idlpath=$(DEPTH)/dist/idl \

View File

@@ -41,9 +41,6 @@
"""A parser for cross-platform IDL (XPIDL) files."""
import sys, os.path, re
sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir,
'other-licenses', 'ply'))
from ply import lex, yacc
"""A type conforms to the following pattern: