From c1cedcdc932d61b1c2687834798c0dfb6fb8b1e6 Mon Sep 17 00:00:00 2001 From: Fotis Georgatos Date: Sat, 18 Aug 2012 16:05:23 +0200 Subject: [PATCH] bugfixing on line with: result = .join(map(lambda x: charmap.get(x, x), name)) Signed-off-by: Fotis Georgatos --- easybuild/tools/filetools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easybuild/tools/filetools.py b/easybuild/tools/filetools.py index dd9785d522..c3dc447791 100644 --- a/easybuild/tools/filetools.py +++ b/easybuild/tools/filetools.py @@ -767,6 +767,6 @@ def encode_string(name): '~': "_tilde_" } - result = ''.join(map(lambda x: charmap(x, x), name) # do the remapping and do return same char by default + result = ''.join(map(lambda x: charmap.get(x, x), name)) # do the remapping and do return same char by default return result