Package: python-pyclamd Version: 0.1.1-1 Severity: important File: pyclamd *** Please type your report below this line ***
fg...@example:~$ python Python 2.5.2 (r252:60911, Jan 24 2010, 17:44:40) [GCC 4.3.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pyclamd >>> try: ... print pyclamd.version() ... except Exception, e: ... print e ... /var/lib/python-support/python2.5/pyclamd.py:422: DeprecationWarning: raising a string exception is deprecated raise ScanError, 'Could not reach clamd : connexion not initialised' Traceback (most recent call last): File "<stdin>", line 2, in <module> File "/var/lib/python-support/python2.5/pyclamd.py", line 199, in version s = __init_socket__() File "/var/lib/python-support/python2.5/pyclamd.py", line 422, in __init_socket__ raise ScanError, 'Could not reach clamd : connexion not initialised' ScanError: Could not reach clamd : connexion not initialised >>> pyclamd also doesn't respect "except Exception". -- System Information: Debian Release: 5.0.5 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-2-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages python-pyclamd depends on: ii clamav-daemon 0.96.1+dfsg-1~volatile1 anti-virus utility for Unix - scan ii python-support 0.8.4lenny2 automated rebuilding support for P python-pyclamd recommends no packages. python-pyclamd suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org