summaryrefslogtreecommitdiff
path: root/subplot/client.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-11-22 15:00:46 +0000
committerLars Wirzenius <liw@liw.fi>2020-11-22 15:00:46 +0000
commit7194cdfb105b1b835dc2a4ff3bbfc1823f170243 (patch)
tree0484972dd085963e157de00f878d5f0e6d98a52a /subplot/client.py
parent0158bd9c06acae4245897e5e04681b4a1637bee9 (diff)
parent68e88efced88f05664ae9050f6888453cfe9cd30 (diff)
downloadobnam2-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.py5
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]
)