зеркало из https://github.com/mozilla/gecko-dev.git
Fixup for bug 754625. r=ted
This commit is contained in:
Родитель
88670fcd3e
Коммит
729aa0cd5f
|
@ -505,8 +505,9 @@ if __name__ == '__main__':
|
|||
print >>sys.stderr, "--regen useless without --cachedir"
|
||||
# Delete the lex/yacc files. Ply is too stupid to regenerate them
|
||||
# properly
|
||||
for filename in [os.path.join(options.cachedir, f) for f in ["xpidllex.py", "xpidlyacc.py"]]:
|
||||
os.remove(filename)
|
||||
for fileglobs in [os.path.join(options.cachedir, f) for f in ["xpidllex.py*", "xpidlyacc.py*"]]:
|
||||
for filename in glob.glob(fileglobs):
|
||||
os.remove(filename)
|
||||
|
||||
# Instantiate the parser.
|
||||
p = xpidl.IDLParser(outputdir=options.cachedir)
|
||||
|
|
Загрузка…
Ссылка в новой задаче