kuuko pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=4bd9dd32436b9f37afaca85c5094e7cc5a874bc5

commit 4bd9dd32436b9f37afaca85c5094e7cc5a874bc5
Author: Kai Huuhko <kai.huu...@gmail.com>
Date:   Sun Nov 24 18:29:33 2013 +0200

    Eo: Fix a Py2'ism.
---
 efl/eo/efl.eo.pyx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/efl/eo/efl.eo.pyx b/efl/eo/efl.eo.pyx
index df74db4..238359c 100644
--- a/efl/eo/efl.eo.pyx
+++ b/efl/eo/efl.eo.pyx
@@ -162,7 +162,7 @@ cdef void _register_decorated_callbacks(Eo obj):
 
     # XXX: This whole thing is really slow. Can we do it better?
 
-    for attr_name, attrib in cls.__dict__.iteritems():
+    for attr_name, attrib in cls.__dict__.items():
         if "__decorated_callbacks__" in dir(attrib):
             for (func_name, *args) in getattr(attrib, 
"__decorated_callbacks__"):
                 func = getattr(obj, func_name)

-- 


Reply via email to