remove debug message

This commit is contained in:
Rolux 2008-07-06 17:37:48 +02:00
parent e262b51a62
commit a9fb189924
1 changed files with 0 additions and 1 deletions

View File

@ -114,7 +114,6 @@ def truncateString(string, length, padding='...', position='right'):
elif position == 'center':
left = int(math.ceil(float(length - paddingLength) / 2))
right = int(stringLength - math.floor(float(length - paddingLength) / 2))
print left, right
string = '%s%s%s' % (string[:left], padding, string[right:])
elif position == 'right':
string = '%s%s' % (string[:length - paddingLength], padding)