[orca/570658] Provide a line of debug to let us know why we printed the stack



commit 94c18c84306d7965cab66ce0b436b42525dbb3d3
Author: Willie Walker <william walker sun com>
Date:   Fri May 22 11:34:51 2009 -0400

    Provide a line of debug to let us know why we printed the stack
---
 src/orca/scripts/toolkits/Gecko/script.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index e1f79e1..c1e21df 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -3616,6 +3616,8 @@ class Script(default.Script):
                 # seems to be guilty of this.
                 #
                 #print "getNodeLevel - obj is defunct", obj
+                debug.println(debug.LEVEL_WARNING,
+                              "getNodeLevel - obj is defunct")
                 debug.printStack(debug.LEVEL_WARNING)
                 return -1
 



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