projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ba73da
)
Fix error message.
author
Kevin Lim
<ktlim@umich.edu>
Tue, 7 Nov 2006 20:45:03 +0000
(15:45 -0500)
committer
Kevin Lim
<ktlim@umich.edu>
Tue, 7 Nov 2006 20:45:03 +0000
(15:45 -0500)
--HG--
extra : convert_revision :
7ac0f40595c89b0d9352e82e447d25380b038408
src/python/m5/__init__.py
patch
|
blob
|
history
diff --git
a/src/python/m5/__init__.py
b/src/python/m5/__init__.py
index d41fd5a6162e8da9330363f6bd67ee095813e630..42abfe2cc57c6dc357577b9209a94476475f667e 100644
(file)
--- a/
src/python/m5/__init__.py
+++ b/
src/python/m5/__init__.py
@@
-171,10
+171,10
@@
def switchCpus(cpuList):
for cpu in old_cpus:
if not isinstance(cpu, objects.BaseCPU):
- raise TypeError, "%s is not of type BaseCPU"
,
cpu
+ raise TypeError, "%s is not of type BaseCPU"
%
cpu
for cpu in new_cpus:
if not isinstance(cpu, objects.BaseCPU):
- raise TypeError, "%s is not of type BaseCPU"
,
cpu
+ raise TypeError, "%s is not of type BaseCPU"
%
cpu
# Drain all of the individual CPUs
drain_event = cc_main.createCountedDrain()