[pyatspi2] Fix queryDocument().getAttributes()



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]