Bug 1293387 - fix header.py direct invocation; r=chmanchester
authorMike Shal <mshal@mozilla.com>
Tue, 26 Jul 2016 14:15:06 -0400
changeset 308784 fad7967951f733632e4f170bd2d293519a201529
parent 308783 4dd7d0ccddf9d06268d2061efe525226b5cf7c2b
child 308785 a7a5fd1b36e553163533f4ff112354be2b310a95
push id20279
push usercbook@mozilla.com
push dateWed, 10 Aug 2016 14:04:43 +0000
treeherderfx-team@531100c1d950 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerschmanchester
bugs1293387
milestone51.0a1
Bug 1293387 - fix header.py direct invocation; r=chmanchester MozReview-Commit-ID: FtJpzOZ4Is6
xpcom/idl-parser/xpidl/header.py
--- a/xpcom/idl-parser/xpidl/header.py
+++ b/xpcom/idl-parser/xpidl/header.py
@@ -537,9 +537,9 @@ def main(outputfile):
     for fileglobs in [os.path.join(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=cachedir)
 
 if __name__ == '__main__':
-    main()
+    main(None)