Skip to content

Commit

Permalink
bugfixing on line with: result = .join(map(lambda x: charmap.get(x, x…
Browse files Browse the repository at this point in the history
…), name))

Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>
  • Loading branch information
fgeorgatos committed Aug 18, 2012
1 parent 64e5c0c commit c1cedcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easybuild/tools/filetools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c1cedcd

Please sign in to comment.