From a9fb189924ecd840c54414d2a7f6812027541134 Mon Sep 17 00:00:00 2001 From: Rolux Date: Sun, 6 Jul 2008 17:37:48 +0200 Subject: [PATCH] remove debug message --- oxlib/text.py | 1 - 1 file changed, 1 deletion(-) diff --git a/oxlib/text.py b/oxlib/text.py index b71c8ef..a74680e 100644 --- a/oxlib/text.py +++ b/oxlib/text.py @@ -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)