Commit 0317e7b9 by Brian Coca

avoid modifying module var by just passing the substring to the append

parent 94a732fb
......@@ -190,8 +190,7 @@ def get_module_list_text(module_list):
desc = desc[:linelimit] + '...'
if module.startswith('_'): # Handle deprecated
module = module[1:]
deprecated.append("%-*s %-*.*s" % (displace, module, linelimit, len(desc), desc))
deprecated.append("%-*s %-*.*s" % (displace, module[1:], linelimit, len(desc), desc))
else:
text.append("%-*s %-*.*s" % (displace, module, linelimit, len(desc), desc))
except:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment