meld r1198 - trunk



Author: vincele
Date: Mon Mar  2 21:10:52 2009
New Revision: 1198
URL: http://svn.gnome.org/viewvc/meld?rev=1198&view=rev

Log:
Don't raise text exceptions


Modified:
   trunk/misc.py

Modified: trunk/misc.py
==============================================================================
--- trunk/misc.py	(original)
+++ trunk/misc.py	Mon Mar  2 21:10:52 2009
@@ -204,7 +204,7 @@
                     if len(state[2]) == 0:
                         yield None
                     else:
-                        raise "Error reading pipe"
+                        raise Exception("Error reading pipe")
                 if childout in state[0]:
                     try:
                         bits.append( childout.read(4096) ) # get buffer size



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]