Typo lenght -> length

This commit is contained in:
Stefano Rivera 2010-11-24 19:59:44 +02:00
parent 66ad1f5854
commit d814f79fa1

View File

@ -71,8 +71,8 @@ class Control(object):
if "" in packages:
packages.remove("")
lenght = len(entry) + 2 * len(packages) + sum(map(len, packages))
if wrap_always or lenght > 80:
length = len(entry) + 2 * len(packages) + sum(map(len, packages))
if wrap_always or length > 80:
indentation = " "
if not short_indent:
indentation *= (len(entry) + 2)