summaryrefslogtreecommitdiff
path: root/efl/edje/efl.edje_external.pxi
diff options
context:
space:
mode:
authordavemds <dave@gurumeditation.it>2014-09-22 18:47:42 +0200
committerdavemds <dave@gurumeditation.it>2014-09-22 18:47:42 +0200
commit6fe9080af122d84a53f6ba73a2faa3c02d5c765c (patch)
tree66fae912c733ad2c7be8daddbaac92c2a7724603 /efl/edje/efl.edje_external.pxi
parent953a77dcaf415c5af1e3d0e1dddd2bdfdad8fd0b (diff)
Make cython 0.21 happy
Simplify the statement so that it also compile with newer cythons
Diffstat (limited to '')
-rw-r--r--efl/edje/efl.edje_external.pxi6
1 files changed, 3 insertions, 3 deletions
diff --git a/efl/edje/efl.edje_external.pxi b/efl/edje/efl.edje_external.pxi
index ec9986a..35d0611 100644
--- a/efl/edje/efl.edje_external.pxi
+++ b/efl/edje/efl.edje_external.pxi
@@ -305,9 +305,9 @@ cdef class ExternalParamInfoChoice(ExternalParamInfo):
305 orig = self.choices 305 orig = self.choices
306 ret = [] 306 ret = []
307 for choice in orig: 307 for choice in orig:
308 ret.append( 308 trans = self._external_type_obj.translate(
309 self._external_type_obj.translate( 309 self._external_type_obj.data, choice)
310 self._external_type_obj.data, choice) or choice) 310 ret.append(trans or choice)
311 return ret 311 return ret
312 312
313 313