title: webpy does not recognizing 2nd line of python in for loop
body: <p>When I run the below code using webpy I get "NameError: global name 'test' is not defined"
  When I run the code in strait python it works like expected. It is as if webpy does not consider the [$test = each] line as part of the for loop and causes an error. How can I get webpy to read the second line as part of the for loop?  </p>
  
  <pre><code>$def with (orders)
  
  &lt;h1&gt;OUTscreen&lt;/h1&gt;
  &lt;table border="1"&gt;
  &lt;tr&gt;
  &lt;th&gt;Has Waited&lt;/th&gt;
  &lt;th&gt;Size&lt;/th&gt;
  &lt;th&gt;Type&lt;/th&gt;
  &lt;th&gt;Customer&lt;/th&gt;
  &lt;/tr&gt;
  
  $for each in orders:
      $test = each
  &lt;tr&gt;
  &lt;td&gt;$test.minsInYard min&lt;/td&gt;
  &lt;td&gt;$test.size&lt;/td&gt;
  &lt;td&gt;$test.eqType&lt;/td&gt;
  &lt;td&gt;$test.cust&lt;/td&gt;
  &lt;td&gt;$test.trucker&lt;/td&gt;
      &lt;/tr&gt;
  
  &lt;/table&gt;
  </code></pre>
  
  <p>thanks for the help</p>