stdlib, resources: Removed unused import
Change-Id: Iee54cc695c7c8ce146719ef583be424b792e2232
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user