orca r4606 - in trunk: . src/orca/scripts/toolkits/Gecko



Author: joanied
Date: Thu Feb 26 17:38:07 2009
New Revision: 4606
URL: http://svn.gnome.org/viewvc/orca?rev=4606&view=rev

Log:
* src/orca/scripts/toolkits/Gecko/script.py:
  Fix for bug #573174 - Gecko script.py calls debug.printException
  when there isn't an exception.


Modified:
   trunk/ChangeLog
   trunk/src/orca/scripts/toolkits/Gecko/script.py

Modified: trunk/src/orca/scripts/toolkits/Gecko/script.py
==============================================================================
--- trunk/src/orca/scripts/toolkits/Gecko/script.py	(original)
+++ trunk/src/orca/scripts/toolkits/Gecko/script.py	Thu Feb 26 17:38:07 2009
@@ -3599,7 +3599,7 @@
                 # seems to be guilty of this.
                 #
                 #print "getNodeLevel - obj is defunct", obj
-                debug.printException(debug.LEVEL_SEVERE)
+                debug.printStack(debug.LEVEL_WARNING)
                 return -1
 
         attrs = obj.getAttributes()
@@ -3791,7 +3791,7 @@
                 # table of contents thing (see #3 above).
                 #
                 #print "getObjectsFromEOCs - in Table, missing an accessible"
-                debug.printException(debug.LEVEL_SEVERE)
+                debug.printStack(debug.LEVEL_WARNING)
                 return []
 
         objects = []
@@ -5066,7 +5066,7 @@
         else:
             if state.contains(pyatspi.STATE_DEFUNCT):
                 #print "getCaretContext: defunct object", obj
-                debug.printException(debug.LEVEL_SEVERE)
+                debug.printStack(debug.LEVEL_WARNING)
                 [obj, caretOffset] = [None, -1]
 
         return [obj, caretOffset]



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