[Debian-l10n-commits] r1739 - in /pootle/trunk/debian: changelog patches/pootle_continue_after_po_failure.patch

nekral-guest at users.alioth.debian.org nekral-guest at users.alioth.debian.org
Fri May 29 18:58:41 UTC 2009


Author: nekral-guest
Date: Fri May 29 18:58:41 2009
New Revision: 1739

URL: http://svn.debian.org/wsvn/?sc=1&rev=1739
Log:
  * debian/patches/pootle_continue_after_po_failure.patch: Updated patch.
    classifyunits does not exist anymore.

Modified:
    pootle/trunk/debian/changelog
    pootle/trunk/debian/patches/pootle_continue_after_po_failure.patch

Modified: pootle/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pootle/trunk/debian/changelog?rev=1739&op=diff
==============================================================================
--- pootle/trunk/debian/changelog (original)
+++ pootle/trunk/debian/changelog Fri May 29 18:58:41 2009
@@ -1,3 +1,10 @@
+pootle (1.2.1-3) unstable; urgency=low
+
+  * debian/patches/pootle_continue_after_po_failure.patch: Updated patch.
+    classifyunits does not exist anymore.
+
+ -- Nicolas FRANCOIS (Nekral) <nicolas.francois at centraliens.net>  Fri, 29 May 2009 20:58:00 +0200
+
 pootle (1.2.1-2) unstable; urgency=low
 
   * debian/control: Recommend python-levenshtein.

Modified: pootle/trunk/debian/patches/pootle_continue_after_po_failure.patch
URL: http://svn.debian.org/wsvn/pootle/trunk/debian/patches/pootle_continue_after_po_failure.patch?rev=1739&op=diff
==============================================================================
--- pootle/trunk/debian/patches/pootle_continue_after_po_failure.patch (original)
+++ pootle/trunk/debian/patches/pootle_continue_after_po_failure.patch Fri May 29 18:58:41 2009
@@ -3,7 +3,7 @@
 
 --- a/Pootle/pootlefile.py
 +++ b/Pootle/pootlefile.py
-@@ -465,6 +465,18 @@
+@@ -465,6 +465,17 @@
        self.encoding = None
        self.units = []
        self._total = util.undefined
@@ -15,8 +15,7 @@
 +        sys.stderr.write("Problem while reading %s.\n"%self.filename)
 +        traceback.print_exc()
 +        sys.stderr.write("\n")
-+        self.transunits = []
-+        self.statistics.classifyunits()
++        self.reset_statistics()
 +
 +    def _readpofile(self):
        pomtime, filecontents = self.lockedfile.getcontents()




More information about the Debian-l10n-commits mailing list