damned-lies r1476 - in trunk: . stats
- From: claudep svn gnome org
- To: svn-commits-list gnome org
- Subject: damned-lies r1476 - in trunk: . stats
- Date: Sat, 7 Mar 2009 10:33:36 +0000 (UTC)
Author: claudep
Date: Sat Mar 7 10:33:36 2009
New Revision: 1476
URL: http://svn.gnome.org/viewvc/damned-lies?rev=1476&view=rev
Log:
2009-03-07 Claude Paroz <claude 2xlibre net>
* stats/utils.py: With msgmerge --previous flag, previous msgid may now be
inserted between the "#, fuzzy" marker and the new msgid. Detect that.
Modified:
trunk/ChangeLog
trunk/stats/utils.py
Modified: trunk/stats/utils.py
==============================================================================
--- trunk/stats/utils.py (original)
+++ trunk/stats/utils.py Sat Mar 7 10:33:36 2009
@@ -339,7 +339,7 @@
for i, line in islice(enumerate(lines), 0, None, 4):
fig = {'path': '', 'hash': ''}
- fig['fuzzy'] = line=='#, fuzzy'
+ fig['fuzzy'] = (line=='#, fuzzy' or line[:4]=='#| "')
path_match = re_path.match(lines[i+1])
if path_match and len(path_match.groups()):
fig['path'] = path_match.group(1)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]