[orca] Remove a redundant call to getRole()



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]