aboutsummaryrefslogtreecommitdiffstats
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
parentRelease 1.11.0 (diff)
downloadpython-efl-1.11.tar.gz
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):
orig = self.choices
ret = []
for choice in orig:
- ret.append(
- self._external_type_obj.translate(
- self._external_type_obj.data, choice) or choice)
+ trans = self._external_type_obj.translate(
+ self._external_type_obj.data, choice)
+ ret.append(trans or choice)
return ret