[orca] Fix for bgo#614844 - Orca's debug output for events should include the any_data



commit cec5f7a1ca2944134a3f5c484421e5daafcf0ea9
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Sun Apr 4 19:57:50 2010 -0400

    Fix for bgo#614844 - Orca's debug output for events should include the any_data

 src/orca/debug.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/debug.py b/src/orca/debug.py
index 3819464..7e5967b 100644
--- a/src/orca/debug.py
+++ b/src/orca/debug.py
@@ -167,8 +167,8 @@ def printObjectEvent(level, event, sourceInfo=None):
 
     level = max(level, eventDebugLevel)
 
-    text = "OBJECT EVENT: %-40s detail=(%d,%d)" \
-           % (event.type, event.detail1, event.detail2)
+    text = "OBJECT EVENT: %-40s detail=(%d,%d,%s)" \
+           % (event.type, event.detail1, event.detail2, event.any_data)
     println(level, text)
 
     if sourceInfo:



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