From 50bd38bd38bb38aaf6feef30355fdc7418077179 Mon Sep 17 00:00:00 2001 From: Boris Kudryavtsev Date: Wed, 20 May 2015 21:56:00 +0200 Subject: [PATCH] Bug 1155968 - Fix correct number of empty lines between objects to comply with PEP8. r=khuey --- xpcom/idl-parser/xpidl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpcom/idl-parser/xpidl.py b/xpcom/idl-parser/xpidl.py index 0d031b399f23..57ccae80bcf2 100755 --- a/xpcom/idl-parser/xpidl.py +++ b/xpcom/idl-parser/xpidl.py @@ -677,6 +677,7 @@ class InterfaceAttributes(object): class ConstMember(object): kind = 'const' + def __init__(self, type, name, value, location, doccomments): self.type = type self.name = name @@ -791,7 +792,6 @@ class Attribute(object): '[builtinclass] interfaces', self.location) - def toIDL(self): attribs = attlistToIDL(self.attlist) readonly = self.readonly and 'readonly ' or ''