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 @@ ...@@ -10,6 +10,7 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>all_columns</string>
<string>columns</string> <string>columns</string>
<string>count_method</string> <string>count_method</string>
<string>editable_columns</string> <string>editable_columns</string>
...@@ -88,6 +89,17 @@ ...@@ -88,6 +89,17 @@
<key> <string>values</string> </key> <key> <string>values</string> </key>
<value> <value>
<dictionary> <dictionary>
<item>
<key> <string>all_columns</string> </key>
<value>
<list>
<tuple>
<string>call_traceback</string>
<string>Call Traceback</string>
</tuple>
</list>
</value>
</item>
<item> <item>
<key> <string>columns</string> </key> <key> <string>columns</string> </key>
<value> <value>
...@@ -136,10 +148,6 @@ ...@@ -136,10 +148,6 @@
<string>processing</string> <string>processing</string>
<string>Processing</string> <string>Processing</string>
</tuple> </tuple>
<tuple>
<string>call_traceback</string>
<string>Call Traceback</string>
</tuple>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -71,6 +71,10 @@ ...@@ -71,6 +71,10 @@
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
...@@ -114,7 +118,7 @@ ...@@ -114,7 +118,7 @@
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[ <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> ]]></string> </value>
</item> </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