diff src/browser/nativedom.py @ 451:1a0cec9b0f1e

better PEP-8 compliance
author souliane <souliane@mailoo.org>
date Tue, 20 May 2014 10:54:03 +0200
parents 981ed669d3b3
children
line wrap: on
line diff
--- a/src/browser/nativedom.py	Tue May 20 07:22:10 2014 +0200
+++ b/src/browser/nativedom.py	Tue May 20 10:54:03 2014 +0200
@@ -31,10 +31,10 @@
         self._node = js_node
 
     def _jsNodesList2List(self, js_nodes_list):
-        ret=[]
+        ret = []
         for i in range(len(js_nodes_list)):
             #ret.append(Element(js_nodes_list.item(i)))
-            ret.append(self.__class__(js_nodes_list.item(i))) # XXX: Ugly, but used to word around a Pyjamas's bug
+            ret.append(self.__class__(js_nodes_list.item(i)))  # XXX: Ugly, but used to word around a Pyjamas's bug
         return ret
 
     @property
@@ -105,4 +105,3 @@
 
     def parseString(self, xml):
         return Document(self.parseXml(xml))
-