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:
@@ -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 \
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user