mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-devtest
synced 2026-01-15 10:23:32 +01:00
test.ListCmd: Reduce debug logging
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
e11f626971
commit
476f501fbe
1 changed files with 3 additions and 3 deletions
|
|
@ -262,7 +262,7 @@ class ListCmd(TestCase): # export
|
|||
|
||||
def parse(self, lines):
|
||||
def parse_line(line, fields):
|
||||
slog(DEBUG, "parsing line >%s<" % line)
|
||||
#slog(DEBUG, "parsing line >%s<" % line)
|
||||
parsed = line.split('# ')
|
||||
line = parsed[0].strip()
|
||||
match = regex.search(line)
|
||||
|
|
@ -270,8 +270,8 @@ class ListCmd(TestCase): # export
|
|||
slog(INFO, "Ignoring unparseable line >%s<" % line)
|
||||
return None
|
||||
attribs = None if len(parsed) <= 1 else Options(parsed[1])
|
||||
for k in range(0, len(fields)):
|
||||
slog(DEBUG, " match {} = >{}<".format(k+1, match.group(k+1)))
|
||||
#for k in range(0, len(fields)):
|
||||
# slog(DEBUG, " match {} = >{}<".format(k+1, match.group(k+1)))
|
||||
fields = {fields[k]: match.group(k+1) for k in range(0, len(fields)) }
|
||||
return self.Row(self, line=line, fields=fields, attribs=attribs)
|
||||
fields = self.row_info('fields')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue