diff options
author | davemds <dave@gurumeditation.it> | 2014-08-04 17:24:05 +0200 |
---|---|---|
committer | davemds <dave@gurumeditation.it> | 2014-08-04 17:24:05 +0200 |
commit | 0567c52013053596a9fc87f2c2bde2e94f5e378d (patch) | |
tree | 33a94fd2c84890078c795e480defdae05814558f | |
parent | a4d321dacc846a62821a5cbe7f45baaeaa1409e7 (diff) |
Fix emotion.__repr__ function
self.type_get() is not a function, dunno what was the intention here
-rw-r--r-- | efl/emotion/efl.emotion.pyx | 5 |
1 files 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): | |||
223 | def __repr__(self): | 223 | def __repr__(self): |
224 | x, y, w, h = self.geometry_get() | 224 | x, y, w, h = self.geometry_get() |
225 | r, g, b, a = self.color_get() | 225 | r, g, b, a = self.color_get() |
226 | return ("<%s(%#x, type=%r, name=%r, " | 226 | return ("<%s(%#x, name=%r, file=%r, geometry=(%d, %d, %d, %d), " |
227 | "file=%r, geometry=(%d, %d, %d, %d), " | ||
228 | "color=(%d, %d, %d, %d), layer=%s, clip=%r, visible=%s) %s>") % \ | 227 | "color=(%d, %d, %d, %d), layer=%s, clip=%r, visible=%s) %s>") % \ |
229 | (self.__class__.__name__, <uintptr_t><void *>self, | 228 | (self.__class__.__name__, <uintptr_t><void *>self, |
230 | self.type_get(), self.name_get(), self.file_get(), | 229 | self.name_get(), self.file_get(), |
231 | x, y, w, h, r, g, b, a, | 230 | x, y, w, h, r, g, b, a, |
232 | self.layer_get(), self.clip_get(), self.visible_get(), | 231 | self.layer_get(), self.clip_get(), self.visible_get(), |
233 | evasObject.__repr__(self)) | 232 | evasObject.__repr__(self)) |