summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavemds <dave@gurumeditation.it>2014-09-22 18:47:42 +0200
committerdavemds <dave@gurumeditation.it>2014-09-22 18:50:54 +0200
commit72fb44eff3a2c37685980aba70e3c56968510b12 (patch)
tree71d57129291ba7b0eb6e14f19dedc7b64b62db69
parentffeb5aaf2c80d54f26b5382ba81686480719c26b (diff)
Make cython 0.21 happypython-efl-1.11
Simplify the statement so that it also compile with newer cythons
-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