From 72fb44eff3a2c37685980aba70e3c56968510b12 Mon Sep 17 00:00:00 2001 From: davemds Date: Mon, 22 Sep 2014 18:47:42 +0200 Subject: [PATCH] Make cython 0.21 happy Simplify the statement so that it also compile with newer cythons --- efl/edje/efl.edje_external.pxi | 6 +++--- 1 file 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