diff options
| author | Xavier Morel <xmo@odoo.com> | 2017-10-10 13:29:11 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2017-10-10 13:29:11 +0200 |
| commit | 40ca8557e9e25832afa40afd84124319cb71f87b (patch) | |
| tree | b4792e33b8404b75274e33e317de1183bb86e795 /doc/_extensions/pyjsparser/parser.py | |
| parent | 8071742959b03020ff2cf32670bb5495804eae57 (diff) | |
[FIX] building documentation with P3
* fix P3 incompatibilities in doc/_extensions
* vendor pyjsdoc, strip out everything we're not using and make what's
left P3-compatible (upstream is not P3 compliant)
* drop undeclared dependency on attrs as it turns out not to be much
used
Diffstat (limited to 'doc/_extensions/pyjsparser/parser.py')
| -rw-r--r-- | doc/_extensions/pyjsparser/parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/_extensions/pyjsparser/parser.py b/doc/_extensions/pyjsparser/parser.py index 78ebe14e6ec..28001886a8e 100644 --- a/doc/_extensions/pyjsparser/parser.py +++ b/doc/_extensions/pyjsparser/parser.py @@ -174,7 +174,7 @@ class PyJsParser: break else: break - return filter(None, comments) + return [c for c in comments if c] def scanHexEscape(self, prefix): code = 0 |
