Skip to content

Commit

Permalink
fixed docstrings to be ready for generated documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>
  • Loading branch information
fgeorgatos committed Aug 18, 2012
1 parent df03518 commit b9a189d
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 @@ -721,7 +721,6 @@ def patch_perl_script_autoflush(path):

def encode_string(name):
"""
This encoding function handles funky package names ad infinitum, like:
example: '0_foo+0x0x#-$__'
becomes: '0_underscore_foo_plus_0x0x_hash__minus__dollar__underscore__underscore_'
Expand Down Expand Up @@ -780,5 +779,6 @@ def encode_string(name):
return result

def encode_class_name(name):
"""return encoded version of class name"""
return "EB_" + encode_string(name)

0 comments on commit b9a189d

Please sign in to comment.