davemds pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=0567c52013053596a9fc87f2c2bde2e94f5e378d

commit 0567c52013053596a9fc87f2c2bde2e94f5e378d
Author: davemds <d...@gurumeditation.it>
Date:   Mon Aug 4 17:24:05 2014 +0200

    Fix emotion.__repr__ function
    
    self.type_get() is not a function, dunno what was the intention here
---
 efl/emotion/efl.emotion.pyx | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/efl/emotion/efl.emotion.pyx b/efl/emotion/efl.emotion.pyx
index b7e3fbe..0c85a46 100644
--- a/efl/emotion/efl.emotion.pyx
+++ b/efl/emotion/efl.emotion.pyx
@@ -223,11 +223,10 @@ cdef class Emotion(evasObject):
     def __repr__(self):
         x, y, w, h = self.geometry_get()
         r, g, b, a = self.color_get()
-        return ("<%s(%#x, type=%r, name=%r, "
-                "file=%r, geometry=(%d, %d, %d, %d), "
+        return ("<%s(%#x, name=%r, file=%r, geometry=(%d, %d, %d, %d), "
                 "color=(%d, %d, %d, %d), layer=%s, clip=%r, visible=%s) %s>") 
% \
                (self.__class__.__name__, <uintptr_t><void *>self,
-                self.type_get(), self.name_get(), self.file_get(),
+                self.name_get(), self.file_get(),
                 x, y, w, h, r, g, b, a,
                 self.layer_get(), self.clip_get(), self.visible_get(),
                 evasObject.__repr__(self))

-- 


Reply via email to