summaryrefslogtreecommitdiff
path: root/python/m5
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2005-11-02 12:14:26 -0500
committerNathan Binkert <binkertn@umich.edu>2005-11-02 12:14:26 -0500
commitdd46db1cb995ae2378b5331b78ec6606aec771d6 (patch)
tree70d1e5566b6f6dcd490d031ce59372a9d62b8d35 /python/m5
parentd238b6be9de143be6b1e1286e6040cbfc0085fd0 (diff)
downloadgem5-dd46db1cb995ae2378b5331b78ec6606aec771d6.tar.xz
__init__ should not return anything
--HG-- extra : convert_revision : fb46eee741f4899d76bcf927523fa151d002decf
Diffstat (limited to 'python/m5')
-rw-r--r--python/m5/config.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/python/m5/config.py b/python/m5/config.py
index 33f3f5843..e1970e672 100644
--- a/python/m5/config.py
+++ b/python/m5/config.py
@@ -939,7 +939,6 @@ class CheckedInt(NumericParamValue):
elif isinstance(value, (int, long)):
self.value = long(value)
self._check()
- return self
class Int(CheckedInt): size = 32; unsigned = False
class Unsigned(CheckedInt): size = 32; unsigned = True
@@ -972,7 +971,6 @@ class MemorySize(CheckedInt):
else:
self.value = toMemorySize(value)
self._check()
- return self
class Addr(CheckedInt):
@@ -987,7 +985,6 @@ class Addr(CheckedInt):
except TypeError:
self.value = long(value)
self._check()
- return self
class AddrRange(Range):
type = Addr