commit | 549431390f1a020b7f9acbccae3ce3fb9293df29 | [log] [tgz] |
---|---|---|
author | Bobby R. Bruce <bbruce@ucdavis.edu> | Mon Nov 22 16:44:37 2021 -0800 |
committer | Bobby R. Bruce <bbruce@ucdavis.edu> | Tue Nov 23 22:49:14 2021 +0000 |
tree | 411342c8f649e325eb4a67e8e0a85a9a14906ff5 | |
parent | d8a6e7e73e9f94ad74a60f9c3dd7ffa01cfa6a9e [diff] |
stdlib: Fix CustomResource metadata setting The 'metadata' parameter was not being passed to the AbstractResource superclass. Change-Id: Id25d82baa2039c992645e6807a46e7c329520bb7 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/53086 Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu> Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu> Tested-by: kokoro <noreply+kokoro@google.com>
diff --git a/src/python/gem5/resources/resource.py b/src/python/gem5/resources/resource.py index 3203191..0b9b128 100644 --- a/src/python/gem5/resources/resource.py +++ b/src/python/gem5/resources/resource.py
@@ -78,7 +78,7 @@ :param local_path: The path of the resource on the host system. :param metadata: Add metadata for the custom resource. """ - super().__init__(local_path=local_path) + super().__init__(local_path=local_path, metadata=metadata) class Resource(AbstractResource):