kuuko pushed a commit to branch master. http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=e2d28bef6af6d651320aa30fe8a713926ddb476e
commit e2d28bef6af6d651320aa30fe8a713926ddb476e Author: Kai Huuhko <kai.huu...@gmail.com> Date: Thu Dec 19 22:27:56 2013 +0200 setup.py: os.environ.has_key -> os.getenv For some reason the former fails on the build bot --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d6abf0a..594b4c5 100755 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ ELM_MIN_VERSION = "1.8.99" # XXX: Force default visibility. See phab T504 -if os.environ.has_key("CFLAGS") and "-fvisibility=" in os.environ["CFLAGS"]: +if os.getenv("CFLAGS") is not None and "-fvisibility=" in os.environ["CFLAGS"]: os.environ["CFLAGS"] += " -fvisibility=default" --