Jason Lowe-Power has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/32374 )

Change subject: python: Import reduce function in FileSystemConfig
......................................................................

python: Import reduce function in FileSystemConfig

Not sure if this is required due to python3 or something else, but I got
the error "NameError: name 'reduce' is not defined". This fixes that
error.

Change-Id: I2dd71674306abcad1a90311664b18b9eee29b9ac
Signed-off-by: Jason Lowe-Power <ja...@lowepower.com>
---
M configs/common/FileSystemConfig.py
1 file changed, 1 insertion(+), 0 deletions(-)



diff --git a/configs/common/FileSystemConfig.py b/configs/common/FileSystemConfig.py
index ec27656..29041fd 100644
--- a/configs/common/FileSystemConfig.py
+++ b/configs/common/FileSystemConfig.py
@@ -42,6 +42,7 @@
 from m5.objects import *
 from m5.util.convert import *

+from functools import reduce
 import operator, os, platform, getpass
 from os import mkdir, makedirs, getpid, listdir, stat, access
 from pwd import getpwuid

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/32374
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I2dd71674306abcad1a90311664b18b9eee29b9ac
Gerrit-Change-Number: 32374
Gerrit-PatchSet: 1
Gerrit-Owner: Jason Lowe-Power <power...@gmail.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to