1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-02 11:22:41 +01:00

target/info: Fix missing return statement

Add missing return statement when upgrading a `TargetInfo` POD to v5.
This commit is contained in:
Marc Bonnici
2019-10-23 14:37:42 +01:00
committed by setrofim
parent 13166f66d1
commit 7ebbb05934

View File

@@ -421,3 +421,4 @@ class TargetInfo(Podable):
@staticmethod @staticmethod
def _pod_upgrade_v5(pod): def _pod_upgrade_v5(pod):
pod['modules'] = pod.get('modules') or [] pod['modules'] = pod.get('modules') or []
return pod