[PATCH] D40704: Remove `lnt update` command.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 5 06:45:44 PST 2017


fhahn updated this revision to Diff 125518.
fhahn retitled this revision from "Import db.migrate module in update command." to " Remove `lnt update` command.".
fhahn edited the summary of this revision.
fhahn added a comment.

Remove `lnt update` instead of fixing it.


https://reviews.llvm.org/D40704

Files:
  lnt/lnttool/main.py


Index: lnt/lnttool/main.py
===================================================================
--- lnt/lnttool/main.py
+++ lnt/lnttool/main.py
@@ -199,17 +199,6 @@
         sys.exit(1)
 
 
- at click.command("update")
- at click.argument("db_path")
- at click.option("--show-sql", is_flag=True, help="show all SQL queries")
-def action_update(db_path, show_sql):
-    """create and or auto-update the given database"""
-    init_logger(logging.INFO, show_sql=show_sql, stream=sys.stderr)
-
-    # Update the database.
-    lnt.server.db.migrate.update_path(db_path)
-
-
 @click.command("send-daily-report")
 @click.argument("instance_path", type=click.UNPROCESSED)
 @click.argument("address")
@@ -511,7 +500,6 @@
 main.add_command(action_send_run_comparison)
 main.add_command(action_showtests)
 main.add_command(action_submit)
-main.add_command(action_update)
 main.add_command(action_updatedb)
 main.add_command(action_view_comparison)
 main.add_command(group_admin)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40704.125518.patch
Type: text/x-patch
Size: 960 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171205/9e45e80f/attachment.bin>


More information about the llvm-commits mailing list