[pypy-svn] r37829 - in pypy/dist/pypy/translator/js: lib/test tutorial
fijal at codespeak.net
fijal at codespeak.net
Fri Feb 2 21:31:57 CET 2007
Author: fijal
Date: Fri Feb 2 21:31:52 2007
New Revision: 37829
Modified:
pypy/dist/pypy/translator/js/lib/test/test_server.py
pypy/dist/pypy/translator/js/tutorial/step1.py
pypy/dist/pypy/translator/js/tutorial/step2.py
pypy/dist/pypy/translator/js/tutorial/step3.py
Log:
Adapt to server.py move
Modified: pypy/dist/pypy/translator/js/lib/test/test_server.py
==============================================================================
--- pypy/dist/pypy/translator/js/lib/test/test_server.py (original)
+++ pypy/dist/pypy/translator/js/lib/test/test_server.py Fri Feb 2 21:31:52 2007
@@ -2,7 +2,7 @@
""" Server testing
"""
-from pypy.translator.js.examples import server
+from pypy.translator.js.lib import server
from urllib import URLopener
class Handler(server.TestHandler):
Modified: pypy/dist/pypy/translator/js/tutorial/step1.py
==============================================================================
--- pypy/dist/pypy/translator/js/tutorial/step1.py (original)
+++ pypy/dist/pypy/translator/js/tutorial/step1.py Fri Feb 2 21:31:52 2007
@@ -8,7 +8,7 @@
# here we import server, which is derivative of
# BaseHTTPServer from python standard library
-from pypy.translator.js.examples import server
+from pypy.translator.js.lib import server
# We create handler, which will handle all our requests
class Handler(server.TestHandler):
Modified: pypy/dist/pypy/translator/js/tutorial/step2.py
==============================================================================
--- pypy/dist/pypy/translator/js/tutorial/step2.py (original)
+++ pypy/dist/pypy/translator/js/tutorial/step2.py Fri Feb 2 21:31:52 2007
@@ -4,7 +4,7 @@
server from previous example
"""
-from pypy.translator.js.examples import server
+from pypy.translator.js.lib import server
import sys
# here we have virtual script "source.js" which we generate
Modified: pypy/dist/pypy/translator/js/tutorial/step3.py
==============================================================================
--- pypy/dist/pypy/translator/js/tutorial/step3.py (original)
+++ pypy/dist/pypy/translator/js/tutorial/step3.py Fri Feb 2 21:31:52 2007
@@ -10,7 +10,7 @@
which will be way easier to manipulate.
"""
-from pypy.translator.js.examples import server
+from pypy.translator.js.lib import server
from pypy.translator.js.main import rpython2javascript
from pypy.translator.js.modules.dom import document
# dom manipulating module
More information about the Pypy-commit
mailing list