Mercurial > babel > mirror
changeset 568:39ff5164e8ea trunk
remove/simplify useless code lines
author | fschwarz |
---|---|
date | Mon, 26 Sep 2011 16:57:21 +0000 |
parents | c81a11cb1476 |
children | 1b801a0cb2cb |
files | babel/messages/pofile.py babel/numbers.py |
diffstat | 2 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/babel/messages/pofile.py +++ b/babel/messages/pofile.py @@ -303,7 +303,7 @@ if width and width > 0: prefixlen = len(prefix) lines = [] - for idx, line in enumerate(string.splitlines(True)): + for line in string.splitlines(True): if len(escape(line)) + prefixlen > width: chunks = WORD_SEP.split(line) chunks.reverse()