diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2012-04-01 19:20:37 +0200 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2012-04-01 19:20:37 +0200 |
commit | 2749db77eb8ccdbc4b0771163c8942f882f259f4 (patch) | |
tree | 9910eeca9a56bc4f8b40f621508b676e556402ad /regtest | |
parent | 1c8e1bb637347d0d31945f9d265b29e7b49396e2 (diff) |
regtest: Fix crash when creating HTML report for a single test
Diffstat (limited to 'regtest')
-rw-r--r-- | regtest/commands/create-report.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/regtest/commands/create-report.py b/regtest/commands/create-report.py index 768da628..f17aabea 100644 --- a/regtest/commands/create-report.py +++ b/regtest/commands/create-report.py @@ -53,9 +53,6 @@ class CreateReport(Command): docs_dir = os.path.dirname(doc) report = HTMLReport(docs_dir, options['refs_dir'], options['out_dir']) - if doc == docs_dir: - report.create() - else: - report.create_for_file(os.path.basename(doc)) + report.create() register_command('create-report', CreateReport) |