Commit a1b00c4e authored by Nicolas Boulenguez's avatar Nicolas Boulenguez

* twisted-version-compare.diff: assume major is an integer, not other

  components. Closes: #877029.
* Standards-Version: 4.1.1.
parent 27f4f1f4
......@@ -23,7 +23,7 @@ Build-Depends-Indep: debhelper (>= 10),
# See tests/control.
hicolor-icon-theme, locales-all, x11-utils, xauth, xvfb
# Also see patches/run_img2py_inside_xvfb.diff.
Standards-Version: 4.0.1
Standards-Version: 4.1.1
Homepage: http://www.taskcoach.org
VCS-Git: https://anonscm.debian.org/git/collab-maint/taskcoach.git
VCS-Browser: https://anonscm.debian.org/gitweb/?p=collab-maint/taskcoach.git
......
......@@ -24,3 +24,4 @@ official_combotreebox.diff
disable_failing_test.diff
missing-import-in-openfile.diff
reproducible_build.diff
twisted-version-compare.diff
Description: assume twisted major version is an integer, not other components
Bug-Debian: https://bugs.debian.org/877029
Author: Nicolas Boulenguez <nicolas@debian.org>
--- a/taskcoachlib/application/application.py
+++ b/taskcoachlib/application/application.py
@@ -161,7 +161,7 @@
# Monkey-patching older versions because of https://twistedmatrix.com/trac/ticket/3948
import twisted
- if map(int, twisted.__version__.split('.')) < (11,):
+ if int (twisted.__version__.split('.') [0]) < 11:
from twisted.internet import reactor
if wxreactor.WxReactor.callFromThread is not None:
oldStop = wxreactor.WxReactor.stop
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment