stdlib, resources: Removed unused import

Change-Id: Iee54cc695c7c8ce146719ef583be424b792e2232
This commit is contained in:
Harshil Patel
2023-09-15 10:41:45 -07:00
parent f3ce343a26
commit 7225da4ac6

View File

@@ -25,7 +25,6 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
from abc import ABCMeta
import json
import os
from pathlib import Path
from m5.util import warn, fatal
@@ -800,7 +799,6 @@ def obtain_resource(
# Once we know what AbstractResource subclass we are using, we create it.
# The fields in the JSON object are assumed to map like-for-like to the
# subclass contructor, so we can pass the resource_json map directly.
return resource_class(local_path=to_path, **resource_json)