<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff></diff>
      <filename>engine/war/WEB-INF/classes/scriptlets/front/DispatcherServlet.class</filename>
    </modified>
    <modified>
      <diff>@@ -10,11 +10,11 @@ def handler(environ, start_response):
     code = base64.b64decode(environ['HTTP_RUN_CODE']).replace(&quot;\r\n&quot;, &quot;\n&quot;) + &quot;\n&quot;
     code = &quot;from scriptlets.util import RestClient\n%s&quot; % code
     compiled = compile(code, '&lt;string&gt;', 'exec')
+    
     old_stderr, old_stdout = sys.stderr, sys.stdout
+    sys.stderr, sys.stdout = resp, resp
+    
+    exec compiled in {'req': req, 'resp': resp}
     
-    try:
-        sys.stderr, sys.stdout = resp, resp
-        exec compiled in {'req': req, 'resp': resp}
-    finally:
-        sys.stderr, sys.stdout = old_stderr, old_stdout
-        return resp(environ, start_response)
+    sys.stderr, sys.stdout = old_stderr, old_stdout
+    return resp(environ, start_response)</diff>
      <filename>engine/war/run.py</filename>
    </modified>
    <modified>
      <diff>@@ -22,13 +22,13 @@
 // Example (try uncommenting):
 // echo &quot;Hello! Your name: {$_GET['name']} &lt;hr /&gt;&quot;.fetch('http://example.com')[1];
 &lt;/textarea&gt;
-&lt;textarea id=&quot;python-code&quot; name=&quot;python-code&quot; onchange=&quot;editors['python'].setCode(this.value)&quot;&gt;# Python 2.5.2 powered by GAE
+&lt;textarea id=&quot;python-code&quot; name=&quot;python-code&quot; onchange=&quot;editors['python'].setCode(this.value)&quot;&gt;# Python 2.5 powered by Jython
 #
-# Like a typical App Engine environment with req and resp objects.
-# Make HTTP requests with: fetch (see App Engine documentation)
+# A WSGI environ with WebOb req and resp objects.
+# Make HTTP requests with: RestClient().request(url, headers, post_params) -&gt; Response
 #
 # Example (try uncommenting):
-# resp.out.write(&quot;Hello! Your name: %s &lt;hr /&gt;%s&quot; % (req.get('name'), fetch('http://example.com').content))
+# resp.write(&quot;Hello! Your name: %s &lt;hr /&gt;%s&quot; % (req.GET.get('name'), RestClient().get('http://example.com')))
 &lt;/textarea&gt;
 &lt;textarea id=&quot;javascript-code&quot; name=&quot;javascript-code&quot; onchange=&quot;editors['javascript'].setCode(this.value)&quot;&gt;// JavaScript powered by Rhino
 //</diff>
      <filename>site/templates/main.html</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6154af19b6f8ecf8939a60eeacd46dba049d9b4e</id>
    </parent>
  </parents>
  <author>
    <name>Jeff Lindsay</name>
    <email>progrium@gmail.com</email>
  </author>
  <url>http://github.com/progrium/scriptlets/commit/b64c4468100820325968c730447650f3dd3a9719</url>
  <id>b64c4468100820325968c730447650f3dd3a9719</id>
  <committed-date>2009-08-11T01:47:06-07:00</committed-date>
  <authored-date>2009-08-11T01:47:06-07:00</authored-date>
  <message>it WAS working, i just had an error in my test code. try block was hiding it</message>
  <tree>284d95814e7bb2de7bfc970c5081a068b76bca2a</tree>
  <committer>
    <name>Jeff Lindsay</name>
    <email>progrium@gmail.com</email>
  </committer>
</commit>
