web/test/data/sheet1.py
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 08 Feb 2016 11:01:46 +0100
changeset 11102 cd1267c1243e
parent 5938 9cb13d1b2ce4
permissions -rw-r--r--
Fix Binary on python < 2.7.4 (closes #10593811) Before the fix for http://bugs.python.org/issue10211 we can't pass a buffer object to BytesIO, so keep using StringIO in that case. And because StringIO is an old-style class, we can't use super().

bgcolor = '#000000'
stylesheets = ['%s/cubicweb.css' % datadir_url]
logo = '%s/logo.png' % datadir_url
lazy = lazystr('%(bgcolor)s')