[llvm-commits] [zorg] r150743 - /zorg/trunk/lnt/lnt/lnttool/main.py
Daniel Dunbar
daniel at zuster.org
Thu Feb 16 14:54:14 PST 2012
Author: ddunbar
Date: Thu Feb 16 16:54:14 2012
New Revision: 150743
URL: http://llvm.org/viewvc/llvm-project?rev=150743&view=rev
Log:
[lnt] lnttool: Remove createdb tool, which doesn't make sense for v0.4. Eventually this functionality should be replaced in the webapp (as the deleted FIXME says).
Modified:
zorg/trunk/lnt/lnt/lnttool/main.py
Modified: zorg/trunk/lnt/lnt/lnttool/main.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/lnttool/main.py?rev=150743&r1=150742&r2=150743&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/lnttool/main.py (original)
+++ zorg/trunk/lnt/lnt/lnttool/main.py Thu Feb 16 16:54:14 2012
@@ -59,22 +59,6 @@
from convert import action_convert
from import_data import action_import
-# FIXME: We really just need a web admin interface. That makes this kind of
-# stuff much easier to work with, and also simplifies dealing with things like
-# file permissions.
-def action_createdb(name, args):
- """create a new empty LNT sqlite3 database"""
-
- parser = OptionParser("%%prog %s [options] path" % name)
-
- (opts, args) = parser.parse_args(args)
- if len(args) != 1:
- parser.error("incorrect number of argments")
-
- path, = args
- db = perfdb.PerfDB('sqlite:///%s' % path)
- db.commit()
-
def action_checkformat(name, args):
"""check the format of an LNT test report file"""
More information about the llvm-commits
mailing list