Add the css chunk to self.css, the ordered list of css for output. Don't write if empty or None.
(self, css)
| 399 | # C S S |
| 400 | |
| 401 | def addCss(self, css): |
| 402 | """Add the css chunk to self.css, the ordered list of css for output. |
| 403 | Don't write if empty or None.""" |
| 404 | if css: |
| 405 | assert isinstance(css, str), ('Added CSS should be of type str "%s"' % css) |
| 406 | self._cssOut.append(css) |
| 407 | |
| 408 | def containsCss(self, css): |
| 409 | """Answer the boolean string if this css already exists in the self._cssOut.""" |
no test coverage detected