[orca] Include obj in the debug output



commit 4d0aa6157b1bbf925cc062db78764d994b981126
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Tue Apr 10 09:57:02 2012 -0400

    Include obj in the debug output

 src/orca/generator.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/generator.py b/src/orca/generator.py
index dfb9279..8fc3aca 100644
--- a/src/orca/generator.py
+++ b/src/orca/generator.py
@@ -186,7 +186,7 @@ class Generator:
         try:
             globalsDict['role'] = args.get('role', obj.getRole())
         except:
-            msg = 'Cannot generate presentation for: %s. Aborting'
+            msg = 'Cannot generate presentation for: %s. Aborting' % obj
             debug.println(debug.LEVEL_FINEST, msg)
             return result
         try:



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