From 2e461182b0540c57f50b2a040f7240c240dc8f7d Mon Sep 17 00:00:00 2001 From: AlexV Date: Tue, 29 Apr 2014 14:13:40 +0900 Subject: [PATCH] removed duplicated check on deteted values from system --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 8eb626d72e..3e34dfa897 100755 --- a/setup.py +++ b/setup.py @@ -318,11 +318,11 @@ class SetEnvVar(object): def _check_valid(self, var_name, value): ret = False - if value is not None and var_name == NDK_ROOT: + if var_name == NDK_ROOT: ret = self._is_ndk_root_valid(value) - elif value is not None and var_name == ANDROID_SDK_ROOT: + elif var_name == ANDROID_SDK_ROOT: ret = self._is_android_sdk_root_valid(value) - elif value is not None and var_name == ANT_ROOT: + elif var_name == ANT_ROOT: ret = self._is_ant_root_valid(value) else: ret = False