Finish yet another half done rename.
authorKyle Huey <khuey@kylehuey.com>
Wed, 10 Aug 2011 08:02:01 -0400
changeset 75201 a858541b486f828904567f7822c175048ef9f07e
parent 75200 d5ecf10070d010fb875917e2b48da20856054cc6
child 75202 4b6602f8fa7bb9c2c874a01080239bf1bd7a0327
push id67
push userclegnitto@mozilla.com
push dateFri, 04 Nov 2011 22:39:41 +0000
treeherdermozilla-release@04778346a3b0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone8.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Finish yet another half done rename.
xpcom/idl-parser/typelib.py
--- a/xpcom/idl-parser/typelib.py
+++ b/xpcom/idl-parser/typelib.py
@@ -154,17 +154,17 @@ def build_interface(iface, ifaces):
             return xpt.Param(type, in_=True, retval=True, dipper=True)
         return xpt.Param(type, in_=False, out=True, retval=True)
 
     def build_attr_param(a, getter=False, setter=False):
         if not (getter or setter):
             raise Exception("Attribute param must be for a getter or a setter!")
 
         type = get_type(a.realtype, getter and 'out' or 'in')
-        if set:
+        if setter:
             return xpt.Param(type)
         else:
             if isDipperType(type.tag):
                 # NB: The retval bit needs to be set here, contrary to what the
                 # xpt spec says.
                 return xpt.Param(type, in_=True, retval=True, dipper=True)
             return xpt.Param(type, in_=False, out=True, retval=True)