Bug 1155968 - Whitespace changes in header.py and runtests.py. r=khuey
authorBoris Kudryavtsev <boriskk.work@gmail.com>
Mon, 04 May 2015 22:45:00 +0200
changeset 251142 e13499df8cc99839162c356b5499be0dbd4309f1
parent 251141 e575d941037742406f327c8819d3b8de8060234d
child 251143 fc3b998c1c6f04f5841cc3e9d2e180e95a9d8ee0
push id13833
push userryanvm@gmail.com
push dateThu, 02 Jul 2015 20:00:55 +0000
treeherderfx-team@98101796b275 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskhuey
bugs1155968
milestone42.0a1
Bug 1155968 - Whitespace changes in header.py and runtests.py. r=khuey
xpcom/idl-parser/header.py
xpcom/idl-parser/runtests.py
--- a/xpcom/idl-parser/header.py
+++ b/xpcom/idl-parser/header.py
@@ -341,17 +341,17 @@ def write_interface(iface, fd):
         fd.write(",\n".join(enums))
         fd.write("\n  };\n\n")
 
     def write_method_decl(m):
         printComments(fd, m.doccomments, '  ')
 
         fd.write("  /* %s */\n" % m.toIDL())
         fd.write("  %s = 0;\n\n" % methodAsNative(m))
-                                                                           
+
     def write_attr_decl(a):
         printComments(fd, a.doccomments, '  ')
 
         fd.write("  /* %s */\n" % a.toIDL());
 
         fd.write("  %s = 0;\n" % attributeAsNative(a, True))
         if a.infallible:
             fd.write(attr_infallible_tmpl %
--- a/xpcom/idl-parser/runtests.py
+++ b/xpcom/idl-parser/runtests.py
@@ -8,17 +8,17 @@
 import mozunit
 import unittest
 import xpidl
 
 
 class TestParser(unittest.TestCase):
     def setUp(self):
         self.p = xpidl.IDLParser()
-    
+
     def testEmpty(self):
         i = self.p.parse("", filename='f')
         self.assertTrue(isinstance(i, xpidl.IDL))
         self.assertEqual([], i.productions)
 
     def testForwardInterface(self):
         i = self.p.parse("interface foo;", filename='f')
         self.assertTrue(isinstance(i, xpidl.IDL))