Edgewall Software

Changes between Version 6 and Version 7 of TracDev/PortingFromClearSilverToGenshi


Ignore:
Timestamp:
Dec 17, 2009, 5:27:25 PM (13 years ago)
Author:
osimons
Comment:

Just storing a slightly updated debug template.

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/PortingFromClearSilverToGenshi

    v6 v7  
    272272  ${select('*')}
    273273  <div id="debug"
    274        style="width: 100%; margin: 5px; border: 2px solid green; padding: 10px; font-family: courier;"
     274       style="width: 98%; margin: 5px; border: 2px solid green; padding: 10px; font-family: courier;"
    275275       py:with="b_dir = globals()['__builtins__'].dir">
    276276    <p style="font-size: 1.15em;"><strong>Debug output - showing information from the rendering context,
     
    303303        <div py:for="item in sorted(req.__dict__.keys())">
    304304            ${item}: ${repr(req.__dict__[item])}</div></p>
    305       <p><strong>all objects from locals():</strong>
    306         <div py:for="item in sorted(locals()['data'].keys())">
    307             ${item}: ${repr(locals()['data'][item])}</div></p>
     305      <p><strong>all objects from locals().['__data__']:</strong>
     306        <div py:for="item in sorted(locals()['__data__'].keys())">
     307            ${item}: ${repr(locals()['__data__'][item])}</div></p>
    308308      <p><strong>__builtins__:</strong>
    309309        <div py:for="key in sorted(globals()['__builtins__'].keys())">