--- a/libpurple/dbus-analyze-functions.py Fri Nov 09 08:39:14 2007 +0000 +++ b/libpurple/dbus-analyze-functions.py Fri Nov 09 08:48:40 2007 +0000 @@ -75,7 +75,11 @@ ] pointer = "#pointer#" -myexception = "My Exception" + +class MyException(Exception): + pass + +myexception = MyException() def ctopascal(name): newname = "" @@ -520,7 +524,7 @@ try: self.processfunction(functiontext, paramtexts) - except myexception: + except MyException: sys.stderr.write(myline + "\n") except: sys.stderr.write(myline + "\n")