Set default description.

[ci skip]
This commit is contained in:
Bastian Kleineidam 2013-05-08 07:11:57 +02:00
parent e6caf6228e
commit 3810938328

View file

@ -182,6 +182,8 @@ def get_testentry(line):
desc = scraper.description desc = scraper.description
else: else:
desc = scraper.description.decode("utf-8", "ignore") desc = scraper.description.decode("utf-8", "ignore")
if not desc:
desc = u'-'
entry = { entry = {
"status": Status.ok if line.startswith(u". ") else Status.error, "status": Status.ok if line.startswith(u". ") else Status.error,
"name": name, "name": name,