mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1108294 - Removed unused cachedir option; r=froydnj
The argument isn't used. Let's remove dead code. --HG-- extra : rebase_source : bd8d5f72c50b8820635de78f2548821b93e425ae
This commit is contained in:
parent
6a406553eb
commit
0c249750ba
@ -205,22 +205,15 @@ def main():
|
||||
help="Quick stub header output file", metavar="FILE")
|
||||
o.add_option('--makedepend-output', type='string', default=None,
|
||||
help="gnumake dependencies output file", metavar="FILE")
|
||||
o.add_option('--cachedir', dest='cachedir', default=None,
|
||||
help="Directory in which to cache lex/parse tables.")
|
||||
global options
|
||||
options, filenames = o.parse_args()
|
||||
if len(filenames) != 1:
|
||||
o.error("Exactly one config filename is needed.")
|
||||
filename = filenames[0]
|
||||
|
||||
if options.cachedir is not None:
|
||||
if not os.path.isdir(options.cachedir):
|
||||
os.mkdir(options.cachedir)
|
||||
sys.path.append(options.cachedir)
|
||||
|
||||
# Instantiate the parser.
|
||||
global p
|
||||
p = xpidl.IDLParser(outputdir=options.cachedir)
|
||||
p = xpidl.IDLParser()
|
||||
|
||||
conf = readConfigFile(filename)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user