[pyatspi2] Fix queryDocument().getAttributes()
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pyatspi2] Fix queryDocument().getAttributes()
- Date: Thu, 3 Jun 2010 19:24:40 +0000 (UTC)
commit 85e3cd2f1453ae40ccc7a0bcfaecf6268bd7e6f2
Author: Mike Gorse <mgorse novell com>
Date: Wed Jun 2 14:52:43 2010 -0400
Fix queryDocument().getAttributes()
pyatspi/document.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pyatspi/document.py b/pyatspi/document.py
index 3bc35d8..6a0b81a 100644
--- a/pyatspi/document.py
+++ b/pyatspi/document.py
@@ -55,7 +55,7 @@ class Document(Accessible):
as name-value pairs.
"""
func = self.get_dbus_method("GetAttributes", dbus_interface=ATSPI_DOCUMENT)
- return [key + ':' + value for key, value in func().values()]
+ return [key + ':' + value for key, value in func().iteritems()]
def getLocale(self):
"""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]