[pypy-svn] r29371 - pypy/dist/pypy/translator/js/demo/jsdemo

fijal at codespeak.net fijal at codespeak.net
Mon Jun 26 21:39:38 CEST 2006


Author: fijal
Date: Mon Jun 26 21:39:37 2006
New Revision: 29371

Modified:
   pypy/dist/pypy/translator/js/demo/jsdemo/bnb.py
Log:
Deleted inline-frame deleting

Modified: pypy/dist/pypy/translator/js/demo/jsdemo/bnb.py
==============================================================================
--- pypy/dist/pypy/translator/js/demo/jsdemo/bnb.py	(original)
+++ pypy/dist/pypy/translator/js/demo/jsdemo/bnb.py	Mon Jun 26 21:39:37 2006
@@ -154,9 +154,9 @@
 
         len_before = len(messages)
         #XXX we could do better by not generating only the last inline_frame message anyway!
-        inline_frames = [i for i,msg in enumerate(messages) if msg['type'] == PMSG_INLINE_FRAME]
-        for i in reversed(inline_frames[:-1]):
-            del messages[i]
+        #inline_frames = [i for i,msg in enumerate(messages) if msg['type'] == PMSG_INLINE_FRAME]
+        #for i in reversed(inline_frames[:-1]):
+        #    del messages[i]
 
         #if messages:
         #    log('MESSAGES:lenbefore=%d, inline_frames=%s, lenafter=%d' % (



More information about the Pypy-commit mailing list