[Python-apps-commits] r12773 - in packages/retext/trunk/debian (4 files)
mitya57 at users.alioth.debian.org
mitya57 at users.alioth.debian.org
Thu Feb 4 08:45:17 UTC 2016
Date: Thursday, February 4, 2016 @ 08:45:15
Author: mitya57
Revision: 12773
Backport upstream patch to fix Enchant-related crash (closes: #812149).
Added:
packages/retext/trunk/debian/patches/
packages/retext/trunk/debian/patches/fix_enchant_crash.diff
packages/retext/trunk/debian/patches/series
Modified:
packages/retext/trunk/debian/changelog
Modified: packages/retext/trunk/debian/changelog
===================================================================
--- packages/retext/trunk/debian/changelog 2016-02-02 10:31:38 UTC (rev 12772)
+++ packages/retext/trunk/debian/changelog 2016-02-04 08:45:15 UTC (rev 12773)
@@ -1,3 +1,9 @@
+retext (5.3.0-2) UNRELEASED; urgency=medium
+
+ * Backport upstream patch to fix Enchant-related crash (closes: #812149).
+
+ -- Dmitry Shachnev <mitya57 at debian.org> Thu, 04 Feb 2016 11:42:36 +0300
+
retext (5.3.0-1) unstable; urgency=medium
* New upstream release.
Added: packages/retext/trunk/debian/patches/fix_enchant_crash.diff
===================================================================
--- packages/retext/trunk/debian/patches/fix_enchant_crash.diff (rev 0)
+++ packages/retext/trunk/debian/patches/fix_enchant_crash.diff 2016-02-04 08:45:15 UTC (rev 12773)
@@ -0,0 +1,16 @@
+Description: do not pass empty string to enchant.Dict constructor
+Origin: upstream, https://github.com/retext-project/retext/commit/3960325507231342
+Bug: https://bugs.debian.org/812149
+Last-Update: 2016-02-04
+
+--- a/ReText/tab.py
++++ b/ReText/tab.py
+@@ -48,7 +48,7 @@
+ textDocument = self.editBox.document()
+ self.highlighter = ReTextHighlighter(textDocument)
+ if enchant_available and parent.actionEnableSC.isChecked():
+- self.highlighter.dictionary = enchant.Dict(parent.sl)
++ self.highlighter.dictionary = enchant.Dict(parent.sl or None)
+ self.highlighter.rehighlight()
+ self.highlighter.docType = self.markup.name
+
Added: packages/retext/trunk/debian/patches/series
===================================================================
--- packages/retext/trunk/debian/patches/series (rev 0)
+++ packages/retext/trunk/debian/patches/series 2016-02-04 08:45:15 UTC (rev 12773)
@@ -0,0 +1 @@
+fix_enchant_crash.diff
More information about the Python-apps-commits
mailing list