regtest/commands/create-report.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit 2749db77eb8ccdbc4b0771163c8942f882f259f4 Author: Carlos Garcia Campos <[email protected]> Date: Sun Apr 1 19:20:37 2012 +0200 regtest: Fix crash when creating HTML report for a single test diff --git a/regtest/commands/create-report.py b/regtest/commands/create-report.py index 768da62..f17aabe 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) _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
