diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-12-17 13:07:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-17 13:07:06 +0100 |
commit | 863dcdf43139d81dfcc361a6d70143e9c4bbd2af (patch) | |
tree | c09634656ab95bcd6af13702d632b2e558b24df4 /platform | |
parent | 32bc42690c6bd9fef9f17f881eac39aef6b56d22 (diff) | |
parent | 064189c693db11aa34bc9b4d83683d6d17051175 (diff) |
Merge pull request #14765 from ColinKinloch/master
Fixed Android NDK unified header detection for python 3
Diffstat (limited to 'platform')
-rw-r--r-- | platform/android/detect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/detect.py b/platform/android/detect.py index bc67f6e6dc..892b1b6a85 100644 --- a/platform/android/detect.py +++ b/platform/android/detect.py @@ -277,7 +277,7 @@ def get_ndk_version(path): try: with open(prop_file_path) as prop_file: for line in prop_file: - key_value = map(lambda x: string.strip(x), line.split("=")) + key_value = list(map(lambda x: x.strip(), line.split("="))) if key_value[0] == "Pkg.Revision": return key_value[1] except: |