From cbf7eadc6ca90536a43c590e8fcd03a8916b966f Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Mon, 15 Jun 2015 14:34:57 +0100 Subject: [PATCH] sqlite: adding global aliases to params Adding global aliases to parameters to fix old configs that still used the deprecated "_" format for specifying parameter values. --- wlauto/result_processors/sqlite.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wlauto/result_processors/sqlite.py b/wlauto/result_processors/sqlite.py index 633cd08a..71ead7dc 100644 --- a/wlauto/result_processors/sqlite.py +++ b/wlauto/result_processors/sqlite.py @@ -86,6 +86,7 @@ class SqliteResultProcessor(ResultProcessor): name = 'sqlite' parameters = [ Parameter('database', default=None, + global_alias='sqlite_database', description=""" Full path to the sqlite database to be used. If this is not specified then a new database file will be created in the output directory. This setting can be used to accumulate results from multiple runs in a single database. If the @@ -98,6 +99,7 @@ class SqliteResultProcessor(ResultProcessor): the home reference ~. """), Parameter('overwrite', kind=boolean, default=False, + global_alias='sqlite_overwrite', description="""If ``True``, this will overwrite the database file if it already exists. If ``False`` (the default) data will be added to the existing file (provided schema