diff --git a/wrap-and-sort b/wrap-and-sort index 51c84a3..f7a214f 100755 --- a/wrap-and-sort +++ b/wrap-and-sort @@ -75,7 +75,7 @@ class Control(object): if wrap_always or length > 80: indentation = " " if not short_indent: - indentation *= (len(entry) + 2) + indentation *= len(entry) + 2 packages_with_indention = map(lambda x: indentation + x, packages) packages_with_indention = ",\n".join(packages_with_indention) if short_indent: