[orca] Remove a redundant call to getRole()
- From: Joanmarie Diggs <joanied src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [orca] Remove a redundant call to getRole()
 
- Date: Sun,  3 Aug 2014 13:23:38 +0000 (UTC)
 
commit 443ea6da20ec6cee3b0b7a622982382c12a0f691
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Sun Aug 3 09:21:58 2014 -0400
    Remove a redundant call to getRole()
 src/orca/script_utilities.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index 1b2d2eb..15430c8 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -560,7 +560,6 @@ class Utilities:
         except (LookupError, RuntimeError):
             role = None
 
-        role = obj.getRole()
         if role == pyatspi.ROLE_PUSH_BUTTON and obj.name:
             return obj.name
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]