Description: Don't crash on exception
 The library expects a string so the entire process crashes when
 an exception is raised.
 .
 relational (1.2-2) unstable; urgency=medium
 .
   * Fix problem in relational-cli that made it crash when exceptions
     were raised
Author: Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>

--- relational-1.2.orig/relational_readline/linegui.py
+++ relational-1.2/relational_readline/linegui.py
@@ -296,7 +296,7 @@ def exec_query(command):
 
         completer.add_completion(relname)
     except Exception, e:
-        print colorize(e, ERROR_COLOR)
+        print colorize(str(e), ERROR_COLOR)
 
 
 def main(files=[]):
