Hoa Nguyen has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/29292 )

Change subject: config: improve FileSystemConfig compatibility with Python3
......................................................................

config: improve FileSystemConfig compatibility with Python3

Signed-off-by: Hoa Nguyen <hoangu...@ucdavis.edu>
Change-Id: Ie787b47bb2f90839255205a66982fc3dfee13540
---
M configs/common/FileSystemConfig.py
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/configs/common/FileSystemConfig.py b/configs/common/FileSystemConfig.py
index 97279f1..ec27656 100644
--- a/configs/common/FileSystemConfig.py
+++ b/configs/common/FileSystemConfig.py
@@ -132,7 +132,7 @@
         file_append((procdir, 'cpuinfo'), one_cpu)

     file_append((procdir, 'stat'), 'cpu 0 0 0 0 0 0 0\n')
-    for i in xrange(len(cpus)):
+    for i in range(len(cpus)):
         file_append((procdir, 'stat'), 'cpu%d 0 0 0 0 0 0 0\n' % i)

     # Set up /sys

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

Gerrit-Project: public/gem5
Gerrit-Branch: release-staging-v20.0.0.0
Gerrit-Change-Id: Ie787b47bb2f90839255205a66982fc3dfee13540
Gerrit-Change-Number: 29292
Gerrit-PatchSet: 1
Gerrit-Owner: Hoa Nguyen <hoangu...@ucdavis.edu>
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