[pypy-svn] r29682 - pypy/dist/pypy/translator/js

fijal at codespeak.net fijal at codespeak.net
Thu Jul 6 16:34:57 CEST 2006


Author: fijal
Date: Thu Jul  6 16:34:55 2006
New Revision: 29682

Modified:
   pypy/dist/pypy/translator/js/database.py
Log:
Ooops, I've brokne sth (why?)


Modified: pypy/dist/pypy/translator/js/database.py
==============================================================================
--- pypy/dist/pypy/translator/js/database.py	(original)
+++ pypy/dist/pypy/translator/js/database.py	Thu Jul  6 16:34:55 2006
@@ -410,10 +410,10 @@
         return self.const._TYPE._name.split('.')[-1][:-2]
     
     def init(self, ilasm):
-        if getattr(self.const._TYPE._class_, '_render_xmlhttp', False):
-            self.db.register_comm_proxy(self.const, self.name)
-            ilasm.new(self.get_name())
-        else:
+        #if getattr(self.const._TYPE._class_, '_render_xmlhttp', False):
+        self.db.register_comm_proxy(self.const, self.name)
+        ilasm.new(self.get_name())
+        #else:
             # Otherwise they just exist, or it's not implemented
-            pass
+        #    pass
 



More information about the Pypy-commit mailing list