1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-21 20:38:57 +00:00

output_processors/postgresql: Add missing default

In the case of no screen resolution being present ensure that a default
is used instead of `None`.
This commit is contained in:
Marc Bonnici 2019-02-14 09:27:44 +00:00 committed by setrofim
parent 1415f61e36
commit 2ce8d6fc95

View File

@ -206,7 +206,7 @@ class PostgresqlResultProcessor(OutputProcessor):
target_pod['sched_features'],
target_pod['page_size_kb'],
# Android Specific
list(target_pod.get('screen_resolution')),
list(target_pod.get('screen_resolution', [])),
target_pod.get('prop'),
target_pod.get('android_id'),
target_pod.get('pod_version'),