Commit 38efc461 authored by Ivan Tyagov's avatar Ivan Tyagov

return default view of an ERP5 portal type.

parent b7252b69
......@@ -104,7 +104,8 @@ class DataArray(BigFile):
# we served a chunk of content in response to a range request.
return ''
return ''
# return default view
return self.view()
# FIXME this duplicates a lot of code from ERP5's BigFile
# -> TODO reuse BigFile streaming capability without copying its code
......
......@@ -47,8 +47,8 @@
<value>
<tuple>
<string>W: 99, 42: Redefining built-in \'format\' (redefined-builtin)</string>
<string>W:115, 4: Redefining built-in \'range\' (redefined-builtin)</string>
<string>W:142, 10: No exception type(s) specified (bare-except)</string>
<string>W:116, 4: Redefining built-in \'range\' (redefined-builtin)</string>
<string>W:143, 10: No exception type(s) specified (bare-except)</string>
</tuple>
</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