diff --git a/xpcom/idl-parser/typelib.py b/xpcom/idl-parser/typelib.py index 6516eae6d7b..c6e84520ff2 100644 --- a/xpcom/idl-parser/typelib.py +++ b/xpcom/idl-parser/typelib.py @@ -159,7 +159,7 @@ def build_interface(iface, ifaces): 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):