Package: python-gearman.libgearman
Version: 0.13.2-3
Severity: minor

While working on the NMU to fix bug 786013, I noticed that the examples
in the package don't work.

$ python /usr/share/doc/python-gearman.libgearman/examples/simpleworker.py
Traceback (most recent call last):
  File
"/usr/share/doc/python-gearman.libgearman/examples/simpleworker.py",
line 11, in <module>
    gm_worker = libgearman.Worker()
  File "/usr/lib/python2.7/dist-packages/gearman/libgearman.py", line
231, in __init__
    def __init__(self, *args, **kwargs): raise AttributeError("No
constructor defined")
AttributeError: No constructor defined
$ python /usr/share/doc/python-gearman.libgearman/examples/simpleclient.py
Traceback (most recent call last):
  File
"/usr/share/doc/python-gearman.libgearman/examples/simpleclient.py",
line 5, in <module>
    gm_client = libgearman.Client()
  File "/usr/lib/python2.7/dist-packages/gearman/libgearman.py", line
124, in __init__
    def __init__(self, *args, **kwargs): raise AttributeError("No
constructor defined")
AttributeError: No constructor defined


-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (60,
'unstable'), (50, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (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/dash
Init: systemd (via /run/systemd/system)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to