aboutsummaryrefslogtreecommitdiff
path: root/mammoth/options.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-08-20 21:23:35 +0100
committerMichael Williamson <mike@zwobble.org>2015-08-20 21:23:35 +0100
commit329e9277bd77b3bed671bc03778eef3e857e03d6 (patch)
treef4d17aeaf652d6eb20739eb58031cfe9ad572553 /mammoth/options.py
parenta215567bb69e66a40ef5c3a982511284ce4dd275 (diff)
Fix Python 3 support
Diffstat (limited to 'mammoth/options.py')
-rw-r--r--mammoth/options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mammoth/options.py b/mammoth/options.py
index 1909b86..ca40f77 100644
--- a/mammoth/options.py
+++ b/mammoth/options.py
@@ -14,7 +14,7 @@ def read_options(options):
def _read_style_map(style_text):
lines = filter(None, map(_get_line, style_text.split("\n")))
return results.combine(lists.map(style_reader.read_style, lines)) \
- .map(lambda style_mappings: filter(None, style_mappings))
+ .map(lambda style_mappings: lists.filter(None, style_mappings))
def _get_line(line):