diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-11-22 15:00:46 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-11-22 15:00:46 +0000 |
commit | 7194cdfb105b1b835dc2a4ff3bbfc1823f170243 (patch) | |
tree | 0484972dd085963e157de00f878d5f0e6d98a52a /subplot/client.py | |
parent | 0158bd9c06acae4245897e5e04681b4a1637bee9 (diff) | |
parent | 68e88efced88f05664ae9050f6888453cfe9cd30 (diff) | |
download | obnam2-7194cdfb105b1b835dc2a4ff3bbfc1823f170243.tar.gz |
Merge branch 'templite' into 'main'
feat! use temporary files for SQLite databases
Closes #6
See merge request larswirzenius/obnam!20
Diffstat (limited to 'subplot/client.py')
-rw-r--r-- | subplot/client.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/subplot/client.py b/subplot/client.py index 7556986..acdc48a 100644 --- a/subplot/client.py +++ b/subplot/client.py @@ -24,13 +24,12 @@ def configure_client(ctx, filename=None): yaml.safe_dump(config, stream=f) -def run_obnam_restore(ctx, filename=None, genid=None, dbname=None, todir=None): +def run_obnam_restore(ctx, filename=None, genid=None, todir=None): runcmd_run = globals()["runcmd_run"] genid = ctx["vars"][genid] runcmd_run( - ctx, - ["env", "RUST_LOG=obnam", "obnam", "restore", filename, genid, dbname, todir], + ctx, ["env", "RUST_LOG=obnam", "obnam", "restore", filename, genid, todir] ) |