summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2005-03-23 22:58:47 -0500
committerNathan Binkert <binkertn@umich.edu>2005-03-23 22:58:47 -0500
commit257be7434193c8a06e024f5fa9eca151025bda1e (patch)
tree9a577d83ea78252fffaf518a669bb4fd64d80e04 /python
parent97064c521659273ae0744c1633cb6b7670d58ecb (diff)
downloadgem5-257be7434193c8a06e024f5fa9eca151025bda1e.tar.xz
Formatting fixes
--HG-- extra : convert_revision : 9a726945b7a1decbecf460df6714257b88742dc8
Diffstat (limited to 'python')
-rw-r--r--python/m5/config.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/python/m5/config.py b/python/m5/config.py
index 3fc90f6bc..e097173f3 100644
--- a/python/m5/config.py
+++ b/python/m5/config.py
@@ -740,8 +740,6 @@ class Node(object):
# print type and parameter values to .ini file
def outputDot(self, dot):
-
-
label = "{%s|" % self.path
if isSimObject(self.realtype):
label += '%s|' % self.type
@@ -931,7 +929,6 @@ class ParamFactory(object):
'Attribute %s not available in %s' % (attr, self.__class__)
super(ParamFactory, self).__setattr__(attr, value)
-
Param = ParamFactory(None)
# Vector-valued parameter description. Just like Param, except that
@@ -1198,7 +1195,6 @@ class String(ParamType):
return value
_string = classmethod(_string)
-
def IncEthernetAddr(addr, val = 1):
bytes = map(lambda x: int(x, 16), addr.split(':'))
bytes[5] += val
@@ -1294,7 +1290,6 @@ Null = NULL = NullSimObject()
# Metaclass for Enum types
class MetaEnum(type):
-
def __init__(cls, name, bases, init_dict):
if init_dict.has_key('map'):
if not isinstance(cls.map, dict):