Description: Upstream changes introduced in version 0.1.1-2
 Change exceptions from strings to classes, for python2.6+ compatibility;
 thanks to Julien Danjou for reporting (Closes: #576694).
Author: Siegfried-Angel Gevatter Pujals <rainct@ubuntu.com>
Bug-Debian: http://bugs.debian.org/576694
Forwarded: yes, by mail
Last-Update: 2010-06-06

--- pyclamd-0.1.1.orig/pyclamd.py
+++ pyclamd-0.1.1/pyclamd.py
@@ -55,8 +55,8 @@ True
 # Module defined Exceptions
 global BufferTooLong
 global ScanError
-BufferTooLong = 'BufferTooLong'
-ScanError = 'ScanError'
+class BufferTooLong(Exception): pass
+class ScanError(Exception): pass
 
 
 # Some global variables
