summaryrefslogtreecommitdiff
path: root/tools/trace
diff options
context:
space:
mode:
authorNicolas Schodet2009-02-09 20:05:30 +0100
committerNicolas Schodet2009-02-09 20:05:30 +0100
commit2e95e3a33bcb34aeec66551503c692c1cb80ab61 (patch)
tree6b763ee0d1bf458da0ced13f44535b42f3b8efb8 /tools/trace
parent552b28da98a387d13aea7403a7e72732a913277d (diff)
* all python:
- changed tabs to spaces.
Diffstat (limited to 'tools/trace')
-rw-r--r--tools/trace/lib/traceclass.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/trace/lib/traceclass.py b/tools/trace/lib/traceclass.py
index 3dd07142..4c194c73 100644
--- a/tools/trace/lib/traceclass.py
+++ b/tools/trace/lib/traceclass.py
@@ -4,7 +4,7 @@ class TraceParam:
self.__name = name
if (length == 0) or (length == 3) or (length > 4):
- self.__length = 0
+ self.__length = 0
raise Exception ("Length not permitted")
else:
self.__length = length
@@ -18,12 +18,12 @@ class TraceParam:
# Defines the Events of the trace module.
class TraceEvent:
def __init__(self, name = ''):
- self.__name = name
+ self.__name = name
self.__param_list = list()
self.__string = ""
def name (self):
- return self.__name
+ return self.__name
def param_add (self, name, length):
param = TraceParam (name, length)