[LNT] r348883 - Import cleanup
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 11 10:56:04 PST 2018
Author: cmatthews
Date: Tue Dec 11 10:56:03 2018
New Revision: 348883
URL: http://llvm.org/viewvc/llvm-project?rev=348883&view=rev
Log:
Import cleanup
Modified:
lnt/trunk/lnt/lnttool/import_data.py
Modified: lnt/trunk/lnt/lnttool/import_data.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/lnttool/import_data.py?rev=348883&r1=348882&r2=348883&view=diff
==============================================================================
--- lnt/trunk/lnt/lnttool/import_data.py (original)
+++ lnt/trunk/lnt/lnttool/import_data.py Tue Dec 11 10:56:03 2018
@@ -1,7 +1,12 @@
+import contextlib
+import logging
+import pprint
import sys
-from lnt.lnttool.common import submit_options
+
import click
+
import lnt.formats
+from lnt.lnttool.common import submit_options, init_logger
@click.command("import")
@@ -26,12 +31,8 @@ def action_import(instance_path, files,
show_sample_count, show_raw_result, testsuite, verbose,
quiet, no_email, no_report, select_machine, merge):
"""import test data into a database"""
- import contextlib
import lnt.server.instance
import lnt.util.ImportData
- import pprint
- import logging
- from .common import init_logger
init_logger(logging.INFO if verbose or show_sql else logging.WARNING,
show_sql=show_sql)
More information about the llvm-commits
mailing list