Description: don't raise a string, since that's incompatible with python 2.6
Forwarded: http://developer.pidgin.im/ticket/12151
Index: pidgin-2.7.1/libpurple/purple-remote
===================================================================
--- pidgin-2.7.1.orig/libpurple/purple-remote
+++ pidgin-2.7.1/libpurple/purple-remote
@@ -32,7 +32,8 @@ class CheckedAttribute:
     def __call__(self, *args):
         result = self.cobj.obj.__getattr__(self.attr)(*args)
         if result == 0:
-            raise "Error: " + self.attr + " " + str(args) + " returned " + str(result)
+            raise Exception("Error: %s %s returned %s" %
+                            (self.attr, args, result))
         return result
             
 def show_help(requested=False):
@@ -219,7 +220,7 @@ def execute(uri):
                             elif type == "i":
                                 methodparams.append(int(value))
                             else:
-                                raise "Don't know how to handle type \"%s\"" % type
+                                raise Exception("Don't know how to handle type \"%s\"" % type)
                     return purple.__getattr__(command)(*methodparams)
             show_help()
 
