[orca/gnome-3-10] Fix traceback in the Gecko script.
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-10] Fix traceback in the Gecko script.
- Date: Mon, 23 Sep 2013 20:20:08 +0000 (UTC)
commit a043f6dd460719b9d0791b4507847bc3ccb670c5
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Sep 23 16:18:46 2013 -0400
Fix traceback in the Gecko script.
src/orca/scripts/toolkits/Gecko/script.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index 37f8eb2..a3a1886 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -2477,9 +2477,7 @@ class Script(default.Script):
# This might be too restrictive but we need it to filter
# out URLs that are displayed when the location list opens.
- if 'tag' in attrs \
- and attrs['tag'] == 'xul:description' \
- or attrs['tag'] == 'xul:label':
+ if attrs.get('tag') in ['xul:description', 'xul:label']:
return False
# This eliminates all ARIA widgets that are not considered live
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]