224c224
< raise TypeError, "Checkpoint must be called on a root object."
---
> raise TypeError("Checkpoint must be called on a root object.")
233,234c233,234
< raise TypeError, "Parameter of type '%s'. Must be type %s or %s." % \
< (type(system), objects.Root, objects.System)
---
> raise TypeError("Parameter of type '%s'. Must be type %s or %s." % \
> (type(system), objects.Root, objects.System))
256c256
< raise RuntimeError, "Must pass a list to this function"
---
> raise RuntimeError("Must pass a list to this function")
259c259
< raise RuntimeError, "List must have tuples of (oldCPU,newCPU)"
---
> raise RuntimeError("List must have tuples of (oldCPU,newCPU)")
267c267
< raise TypeError, "%s is not of type BaseCPU" % old_cpu
---
> raise TypeError("%s is not of type BaseCPU" % old_cpu)
269c269
< raise TypeError, "%s is not of type BaseCPU" % new_cpu
---
> raise TypeError("%s is not of type BaseCPU" % new_cpu)
271,272c271,272
< raise RuntimeError, \
< "New CPU (%s) is in the list of old CPUs." % (old_cpu,)
---
> raise RuntimeError(
> "New CPU (%s) is in the list of old CPUs." % (old_cpu,))
274,275c274
< raise RuntimeError, \
< "New CPU (%s) is already active." % (new_cpu,)
---
> raise RuntimeError("New CPU (%s) is already active." % (new_cpu,))
277,278c276,277
< raise RuntimeError, \
< "New CPU (%s) does not support CPU handover." % (old_cpu,)
---
> raise RuntimeError(
> "New CPU (%s) does not support CPU handover." % (old_cpu,))
280c279
< raise RuntimeError, \
---
> raise RuntimeError(
282c281
< new_cpus[0])
---
> new_cpus[0]))
284,285c283
< raise RuntimeError, \
< "Old CPU (%s) is inactive." % (new_cpu,)
---
> raise RuntimeError("Old CPU (%s) is inactive." % (new_cpu,))
287,288c285,286
< raise RuntimeError, \
< "Old CPU (%s) does not support CPU handover." % (old_cpu,)
---
> raise RuntimeError(
> "Old CPU (%s) does not support CPU handover." % (old_cpu,))
293c291
< raise RuntimeError, "Invalid memory mode (%s)" % memory_mode_name
---
> raise RuntimeError("Invalid memory mode (%s)" % memory_mode_name)
346c344
< raise RuntimeError, "Can not fork a simulator with listeners enabled"
---
> raise RuntimeError("Can not fork a simulator with listeners enabled")
352c350
< except OSError, e:
---
> except OSError as e: