[orca] Change the debug level the script manager prints dead accessible warnings
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Change the debug level the script manager prints dead accessible warnings
- Date: Mon, 7 Jan 2013 00:17:38 +0000 (UTC)
commit ba92b23c33845e973b27bfef536b1a26dbdd70bb
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sun Jan 6 19:16:38 2013 -0500
Change the debug level the script manager prints dead accessible warnings
src/orca/script_manager.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/orca/script_manager.py b/src/orca/script_manager.py
index 76cac82..6cd38a6 100644
--- a/src/orca/script_manager.py
+++ b/src/orca/script_manager.py
@@ -94,7 +94,7 @@ class ScriptManager:
appAndNameExist = app != None and app.name != ''
except (LookupError, RuntimeError):
appAndNameExist = False
- debug.println(debug.LEVEL_SEVERE,
+ debug.println(debug.LEVEL_FINEST,
"getModuleName: %s no longer exists" % app)
if not appAndNameExist:
@@ -127,7 +127,7 @@ class ScriptManager:
try:
attributes = obj.getAttributes()
except (LookupError, RuntimeError):
- debug.println(debug.LEVEL_SEVERE,
+ debug.println(debug.LEVEL_FINEST,
"_toolkitForObject: %s no longer exists" % obj)
else:
attrs = dict([attr.split(':', 1) for attr in attributes])
@@ -170,9 +170,9 @@ class ScriptManager:
debug.println(debug.LEVEL_FINE, "Loaded %s.py" % moduleName)
break
except:
- debug.printException(debug.LEVEL_SEVERE)
+ debug.printException(debug.LEVEL_FINEST)
debug.println(
- debug.LEVEL_SEVERE, "Could not load %s.py" % moduleName)
+ debug.LEVEL_FINEST, "Could not load %s.py" % moduleName)
return script
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]