Commit 9b470608 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

Suppress 'AttributeError: call_traceback' in a log caused by ActivityTool_viewActivityList.

Also move 'call_traceback' to 'More Columns'.
parent 41e39822
......@@ -10,6 +10,7 @@
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>all_columns</string>
<string>columns</string>
<string>count_method</string>
<string>editable_columns</string>
......@@ -88,6 +89,17 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>all_columns</string> </key>
<value>
<list>
<tuple>
<string>call_traceback</string>
<string>Call Traceback</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>columns</string> </key>
<value>
......@@ -136,10 +148,6 @@
<string>processing</string>
<string>Processing</string>
</tuple>
<tuple>
<string>call_traceback</string>
<string>Call Traceback</string>
</tuple>
</list>
</value>
</item>
......
......@@ -71,6 +71,10 @@
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
......@@ -114,7 +118,7 @@
<key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[
python: "<pre>" + cell.call_traceback + "</pre>"
python: \'<pre>\' + getattr(cell, \'call_traceback\', \'\') + \'</pre>\'
  • Soon we will be able use "pre" CSS class instead of this and do not have to worry about escaping HTML. I included a patch for that in !14 (closed)

Please register or sign in to reply
]]></string> </value>
</item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment