aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage/util/mapfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/storage/util/mapfile.py')
-rw-r--r--libbe/storage/util/mapfile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbe/storage/util/mapfile.py b/libbe/storage/util/mapfile.py
index 1c37e3f..609f782 100644
--- a/libbe/storage/util/mapfile.py
+++ b/libbe/storage/util/mapfile.py
@@ -70,7 +70,7 @@ def generate(map, context=6):
the :py:mod:`~libbe.command.serve_commands` where merging is not
important, the amount of context is controllable.
- >>> sys.stdout.write(generate({'q':u'Fran\u00e7ais'}, context=0))
+ >>> sys.stdout.write(generate({'q':u'Fran\\u00e7ais'}, context=0))
{
"q": "Fran\\u00e7ais"
}
@@ -113,7 +113,7 @@ def parse(contents):
u'd'
>>> dict['e']
u'f'
- >>> contents = generate({'q':u'Fran\u00e7ais'})
+ >>> contents = generate({'q':u'Fran\\u00e7ais'})
>>> dict = parse(contents)
>>> dict['q']
u'Fran\\xe7ais'