parse_results.py: minor internal change: work with unicode object instead of utf-8 str
This commit is contained in:
@@ -93,7 +93,6 @@ def main(db):
|
|||||||
'parsed_command_record.id=command_record.id)')
|
'parsed_command_record.id=command_record.id)')
|
||||||
for row in c.execute(SQL).fetchall():
|
for row in c.execute(SQL).fetchall():
|
||||||
id, command, stdout, exitcode = row
|
id, command, stdout, exitcode = row
|
||||||
stdout = stdout.encode()
|
|
||||||
try:
|
try:
|
||||||
testname, hub = parse_stdout(stdout)
|
testname, hub = parse_stdout(stdout)
|
||||||
if unittest_delim in stdout:
|
if unittest_delim in stdout:
|
||||||
|
Reference in New Issue
Block a user