From 177d4b8c6599b8dc9c6454e796182aef367ccab6 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Tue, 14 May 2013 12:32:52 +0200 Subject: [PATCH] Update to SeSQL 0.15 --- umap/sesql_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/sesql_config.py b/umap/sesql_config.py index f0ff855f..38764133 100644 --- a/umap/sesql_config.py +++ b/umap/sesql_config.py @@ -77,7 +77,7 @@ CROSS_INDEXES = () from htmlentitydefs import name2codepoint from xml.sax import saxutils -html_entities = dict([('&%s;' % k, unichr(v).encode(config.CHARSET)) for k,v in name2codepoint.items() ]) +html_entities = dict([('&%s;' % k, unichr(v).encode(CHARSET)) for k,v in name2codepoint.items() ]) ADDITIONAL_CLEANUP_FUNCTION = lambda value: saxutils.unescape(value, html_entities) #