vendor/zasync/1.1

changeset 13:d6e9f2b64c54 1.1-nux

Removed traling whitespaces.
author rspivak
date Thu, 02 Feb 2006 13:40:41 +0000
parents 4ae6eac80508
children 58fb6aeb0001
files www/analyzeCalls.zpt
diffstat 1 files changed, 39 insertions(+), 39 deletions(-) [+]
line diff
     1.1 --- a/www/analyzeCalls.zpt
     1.2 +++ b/www/analyzeCalls.zpt
     1.3 @@ -38,16 +38,16 @@
     1.4        <tal:block repeat="row batch_info">
     1.5          <tr tal:define="odd repeat/row/odd;"
     1.6              tal:attributes="style python:odd and 'background-color: yellow'">
     1.7 -          <td tal:content="row/creation_date/isoformat">date</td> 
     1.8 -          <td tal:content="row/resolution_date/isoformat" 
     1.9 +          <td tal:content="row/creation_date/isoformat">date</td>
    1.10 +          <td tal:content="row/resolution_date/isoformat"
    1.11              tal:condition="row/resolution_date">date</td>
    1.12            <td tal:condition="not:row/resolution_date">Not Available</td>
    1.13            <td tal:condition="not:row/resolution_date">Not Available</td>
    1.14 -          <td tal:condition="not:row/original_state" >Not Available</td> 
    1.15 -          <td tal:condition="not:row/state">Not Available</td> 
    1.16 -          <td tal:content="row/key">key</td> 
    1.17 -          <td tal:content="row/user">user</td> 
    1.18 -          <td tal:content="row/plugin">plugin</td> 
    1.19 +          <td tal:condition="not:row/original_state" >Not Available</td>
    1.20 +          <td tal:condition="not:row/state">Not Available</td>
    1.21 +          <td tal:content="row/key">key</td>
    1.22 +          <td tal:content="row/user">user</td>
    1.23 +          <td tal:content="row/plugin">plugin</td>
    1.24          </tr>
    1.25          <tr tal:define="
    1.26              odd repeat/row/odd;
    1.27 @@ -55,8 +55,8 @@
    1.28              tal:attributes="style python:odd and 'background-color: yellow'">
    1.29            <td colspan="8">
    1.30              <p><strong>Plugin Arguments</strong></p>
    1.31 -            <p tal:content="row/args">args</p> 
    1.32 -            <p tal:content="row/kwargs">kwargs</p> 
    1.33 +            <p tal:content="row/args">args</p>
    1.34 +            <p tal:content="row/kwargs">kwargs</p>
    1.35            </td>
    1.36          </tr>
    1.37        </tal:block>
    1.38 @@ -111,16 +111,16 @@
    1.39        <tal:block repeat="row batch_info">
    1.40          <tr tal:define="odd repeat/row/odd;"
    1.41              tal:attributes="style python:odd and 'background-color: yellow'">
    1.42 -          <td tal:content="row/creation_date/isoformat">date</td> 
    1.43 -          <td tal:content="row/resolution_date/isoformat" 
    1.44 +          <td tal:content="row/creation_date/isoformat">date</td>
    1.45 +          <td tal:content="row/resolution_date/isoformat"
    1.46              tal:condition="row/resolution_date">date</td>
    1.47            <td tal:condition="not:row/resolution_date">Not Available</td>
    1.48            <td tal:condition="not:row/resolution_date">Not Available</td>
    1.49 -          <td tal:condition="not:row/original_state" >Not Available</td> 
    1.50 -          <td tal:condition="not:row/state">Not Available</td> 
    1.51 -          <td tal:content="row/key">key</td> 
    1.52 -          <td tal:content="row/user">user</td> 
    1.53 -          <td tal:content="row/plugin">plugin</td> 
    1.54 +          <td tal:condition="not:row/original_state" >Not Available</td>
    1.55 +          <td tal:condition="not:row/state">Not Available</td>
    1.56 +          <td tal:content="row/key">key</td>
    1.57 +          <td tal:content="row/user">user</td>
    1.58 +          <td tal:content="row/plugin">plugin</td>
    1.59          </tr>
    1.60          <tr tal:define="
    1.61              odd repeat/row/odd;
    1.62 @@ -128,8 +128,8 @@
    1.63              tal:attributes="style python:odd and 'background-color: yellow'">
    1.64            <td colspan="8">
    1.65              <p><strong>Plugin Arguments</strong></p>
    1.66 -            <p tal:content="row/args">args</p> 
    1.67 -            <p tal:content="row/kwargs">kwargs</p> 
    1.68 +            <p tal:content="row/args">args</p>
    1.69 +            <p tal:content="row/kwargs">kwargs</p>
    1.70            </td>
    1.71          </tr>
    1.72        </tal:block>
    1.73 @@ -174,7 +174,7 @@
    1.74  <h2>Resolved calls</h2>
    1.75  <p class="form-help">
    1.76    The manager currently has <strong tal:content="total">42</strong>
    1.77 -  resolved calls.  These will be kept in the database for no less than 
    1.78 +  resolved calls.  These will be kept in the database for no less than
    1.79    <tal:block define="raw_seconds min_stay; days python:raw_seconds//86400;">
    1.80      <metal:block define-macro="pretty_duration"><tal:block define="
    1.81        hours python:raw_seconds%86400//3600;
    1.82 @@ -197,21 +197,21 @@
    1.83          minute<tal:block condition="not:one_minute">s</tal:block>,
    1.84        </tal:block>
    1.85        <span tal:replace="seconds"/>
    1.86 -        second<tal:block 
    1.87 +        second<tal:block
    1.88          condition="not:one_second">s</tal:block></tal:block></metal:block>;
    1.89    </tal:block>
    1.90 -  and, typically, no more than 
    1.91 +  and, typically, no more than
    1.92    <tal:block define="raw_seconds max_stay; days python:raw_seconds//86400;">
    1.93      <metal:block use-macro="template/macros/pretty_duration" />.
    1.94    </tal:block>
    1.95  </p>
    1.96 -<p class="form-help">The resolved calls are an aggregate of 
    1.97 +<p class="form-help">The resolved calls are an aggregate of
    1.98    <span tal:replace="buckets">2</span> rotating buckets, ordered from newest to
    1.99    oldest. <span tal:repeat="bucketIndex python: range(buckets)">Bucket <span
   1.100    tal:replace="bucketIndex">0</span> has <span tal:replace="python:
   1.101    here.lenResolvedCalls(bucketIndex)">0</span> calls. </span></p>
   1.102 -<p class="form-help">The buckets rotate every 
   1.103 -  <span tal:replace="rotation_period">86400</span> seconds 
   1.104 +<p class="form-help">The buckets rotate every
   1.105 +  <span tal:replace="rotation_period">86400</span> seconds
   1.106    (<span tal:replace="python: rotation_period/3600"/> hours), with the oldest
   1.107    bucket discarding its contents.  Change the rotation period on the properties
   1.108    tab.<span tal:condition="next_rotate">The buckets will rotate next at
   1.109 @@ -233,8 +233,8 @@
   1.110        <tal:block repeat="row batch_info">
   1.111          <tr tal:define="odd repeat/row/odd;"
   1.112              tal:attributes="style python:odd and 'background-color: yellow'">
   1.113 -          <td tal:content="row/creation_date/isoformat">date</td> 
   1.114 -          <td tal:content="row/resolution_date/isoformat" 
   1.115 +          <td tal:content="row/creation_date/isoformat">date</td>
   1.116 +          <td tal:content="row/resolution_date/isoformat"
   1.117              tal:condition="row/resolution_date">date</td>
   1.118            <td tal:condition="not:row/resolution_date">Not Available</td>
   1.119            <td tal:condition="row/resolution_date">
   1.120 @@ -246,11 +246,11 @@
   1.121              </tal:block>
   1.122            </td>
   1.123            <td tal:condition="not:row/resolution_date">Not Available</td>
   1.124 -          <td tal:content="row/original_state">success/failure</td> 
   1.125 -          <td tal:content="row/state">success/failure</td> 
   1.126 -          <td tal:content="row/key">key</td> 
   1.127 -          <td tal:content="row/user">user</td> 
   1.128 -          <td tal:content="row/plugin">plugin</td> 
   1.129 +          <td tal:content="row/original_state">success/failure</td>
   1.130 +          <td tal:content="row/state">success/failure</td>
   1.131 +          <td tal:content="row/key">key</td>
   1.132 +          <td tal:content="row/user">user</td>
   1.133 +          <td tal:content="row/plugin">plugin</td>
   1.134          </tr>
   1.135          <tr tal:define="
   1.136              odd repeat/row/odd;
   1.137 @@ -258,8 +258,8 @@
   1.138              tal:attributes="style python:odd and 'background-color: yellow'">
   1.139            <td colspan="8">
   1.140              <p><strong>Plugin Arguments</strong></p>
   1.141 -            <p tal:content="row/args">args</p> 
   1.142 -            <p tal:content="row/kwargs">kwargs</p> 
   1.143 +            <p tal:content="row/args">args</p>
   1.144 +            <p tal:content="row/kwargs">kwargs</p>
   1.145            </td>
   1.146          </tr>
   1.147          <tr tal:define="
   1.148 @@ -269,10 +269,10 @@
   1.149            <td colspan="8">
   1.150              <p><strong>Original Resolution Value</strong></p>
   1.151              <pre tal:replace="row/original_value" tal:condition="success">value
   1.152 -            </pre> 
   1.153 +            </pre>
   1.154              <p tal:condition="python: success and row['original_value'] is None">
   1.155                (None)</p>
   1.156 -            <pre tal:content="row/original_value/getTraceback" 
   1.157 +            <pre tal:content="row/original_value/getTraceback"
   1.158                tal:condition="not:success">traceback</pre>
   1.159            </td>
   1.160          </tr>
   1.161 @@ -285,10 +285,10 @@
   1.162              <p><strong>Final Resolution Value (after callback chain)</strong></p>
   1.163              <p tal:condition="same">(Same as original resolution)</p>
   1.164              <tal:block condition="not:same">
   1.165 -              <pre tal:replace="row/value" tal:condition="success">value</pre> 
   1.166 +              <pre tal:replace="row/value" tal:condition="success">value</pre>
   1.167                <p tal:condition="python: success and row['value'] is None">
   1.168                  (None)</p>
   1.169 -              <pre tal:content="row/value/getTraceback" 
   1.170 +              <pre tal:content="row/value/getTraceback"
   1.171                  tal:condition="not:success">traceback</pre>
   1.172              </tal:block>
   1.173            </td>
   1.174 @@ -318,10 +318,10 @@
   1.175      <input type="hidden" name="batch:int" value="0" />
   1.176    </form>
   1.177    <form tal:repeat="bucketIndex python: range(buckets)" method="post">
   1.178 -    <input type="submit" name="analyzeResolved" value="analyze bucket calls" 
   1.179 +    <input type="submit" name="analyzeResolved" value="analyze bucket calls"
   1.180        tal:attributes="value string:analyze bucket $bucketIndex calls" />
   1.181      <input type="hidden" name="batch:int" value="0" />
   1.182 -    <input type="hidden" name="analyzeBucket:int" value="0" 
   1.183 +    <input type="hidden" name="analyzeBucket:int" value="0"
   1.184        tal:attributes="value bucketIndex" />
   1.185    </form>
   1.186  </tal:block>