We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 962dea9 commit 10200f8Copy full SHA for 10200f8
src/fosslight_android/android_binary_analysis.py
@@ -197,15 +197,15 @@ def set_env_variables_from_result_log():
197
# Check the platform version
198
for line in android_log_lines:
199
try:
200
- line = line.strip()
201
- pattern = re.compile(r'.*PLATFORM_VERSION\s*=\s*(\d+.?\d?)(.*\d*)\S*\s*')
+ line = line.strip()
+ pattern = re.compile(r'.*PLATFORM_VERSION\s*=\s*(\d+)\.?\d*\S*\s*')
202
matched = pattern.match(line)
203
if matched is not None:
204
platform_version = matched.group(1)
205
break
206
207
except Exception:
208
- pass
+ pass
209
210
# FIND a NOTICE file and build out path
211
for line in reversed(android_log_lines):
0 commit comments