Package: python-twisted-core
Version: 8.0.1-1
Severity: normal
Tags: patch

twisted/internet/glib2reactor.py in the install() function is missing
the return statement. This makes the glib2reactor useless. The patch is
a trivial one liner (see attachment).

The bug still exists in upstream trunk. I have reported it to
twistedmatrix as well [1] but I would appreciate it if Debian can add
this simple fix until it is fixed upstream and the new upstream version
has been packaged for Debian.

[1] http://twistedmatrix.com/trac/ticket/3252

Kind regards,

Sander Marechal

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-twisted-core depends on:
ii  python                        2.5.2-1    An interactive high-level object-o
ii  python-central                0.6.6      register and build utility for Pyt
ii  python-twisted-bin            8.0.1-1    Event-based framework for internet
ii  python-zopeinterface          3.3.1-6    The implementation of interface de

Versions of packages python-twisted-core recommends:
ii  python-openssl [python-pyopen 0.7-1      Python wrapper around the OpenSSL 
pn  python-pam                    <none>     (no description available)
ii  python-pyopenssl              0.7-1      transitional dummy package
pn  python-serial                 <none>     (no description available)

-- no debconf information
diff -Naur twisted/internet/glib2reactor.py twisted-patched/internet/glib2reactor.py
--- twisted/internet/glib2reactor.py	2008-05-29 11:50:40.000000000 +0200
+++ twisted-patched/internet/glib2reactor.py	2008-05-29 11:53:02.000000000 +0200
@@ -44,6 +44,7 @@
     reactor = Glib2Reactor()
     from twisted.internet.main import installReactor
     installReactor(reactor)
+    return reactor
     
 __all__ = ['install']
 

Reply via email to