[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: l10n-support/pology/scripts
From: Chusslove Illich <caslav.ilic () gmx ! net>
Date: 2010-09-25 10:35:09
Message-ID: 20100925103509.34A28AC857 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1179411 by ilic:
Do not crash if new message does not exist.
M +3 -0 poepatch.py
--- trunk/l10n-support/pology/scripts/poepatch.py #1179410:1179411
@@ -523,7 +523,10 @@
# Will be inserted if reembedding requested, so compute insertion.
if not patch_specs:
typ = _pt_insert
+ if msg2 is not None:
pos, weight = cat.insertion_inquiry(msg2)
+ else:
+ pos = len(cat)
patch_specs.append((emsg, _flag_ediff_no_match, typ, pos,
msg1, msg2, msg1_s, msg2_s))
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic