Bug 692523: Add imports of os/sys modules to typelib.py. r=khuey a=jst
authorTodd Whiteman <toddw@ActiveState.com>
Mon, 17 Oct 2011 09:26:04 -0400
changeset 78828 51d973c83798caa2f7d54af54ca3fc4ee563800c
parent 78827 c9155f2b618f531720bc8cfbd37cd6174f3dc258
child 78829 9c3b0542705c823c2e94a28f9e3a95c92a3e1f97
push id340
push userclegnitto@mozilla.com
push dateTue, 08 Nov 2011 22:56:33 +0000
treeherdermozilla-beta@f745dc151615 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskhuey, jst
bugs692523
milestone9.0a2
Bug 692523: Add imports of os/sys modules to typelib.py. r=khuey a=jst
xpcom/idl-parser/typelib.py
--- a/xpcom/idl-parser/typelib.py
+++ b/xpcom/idl-parser/typelib.py
@@ -34,16 +34,18 @@
 # and other provisions required by the GPL or the LGPL. If you do not delete
 # the provisions above, a recipient may use your version of this file under
 # the terms of any one of the MPL, the GPL or the LGPL.
 #
 # ***** END LICENSE BLOCK *****
 
 """Generate an XPIDL typelib for the IDL files specified on the command line"""
 
+import os
+import sys
 import xpidl, xpt
 
 # A map of xpidl.py types to xpt.py types
 TypeMap = {
     # nsresult is not strictly an xpidl.py type, but it's useful here
     'nsresult':           xpt.Type.Tags.uint32,
     # builtins
     'boolean':            xpt.Type.Tags.boolean,