diff options
| author | Michael Williamson <mike@zwobble.org> | 2014-08-30 10:54:02 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2014-08-30 10:54:45 +0100 |
| commit | 32d35f2fcdd85f65ea38eb16b772de503f8d4107 (patch) | |
| tree | 9818c4727b277e52e64641867205930bf0df4b1e /mammoth/lists.py | |
| parent | 7d5045309a7100dfd2404f0bcdf73d27f4883ab1 (diff) | |
Ignore separators in footnotes XML
Diffstat (limited to 'mammoth/lists.py')
| -rw-r--r-- | mammoth/lists.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mammoth/lists.py b/mammoth/lists.py index 28889a9..cf39b99 100644 --- a/mammoth/lists.py +++ b/mammoth/lists.py @@ -17,7 +17,10 @@ def _collect(values, result): if sys.version_info[0] == 2: map = map + filter = filter else: import builtins def map(*args, **kwargs): return list(builtins.map(*args, **kwargs)) + def filter(*args, **kwargs): + return list(builtins.filter(*args, **kwargs)) |
