[orca/gnome-3-12] Remove a redundant call to getRole()
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-12] Remove a redundant call to getRole()
- Date: Sun, 3 Aug 2014 13:23:33 +0000 (UTC)
commit 4ca17af0c51f644228d179523d5a946912851959
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 7ee30ee..83fd968 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -558,7 +558,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]