diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-01-16 16:02:11 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-01-16 16:02:11 +0000 |
commit | dc7fd9e24ed488af27b2e5b067652f3ba244bc3d (patch) | |
tree | a6fa8bd9e6101466f8e50adb1970a61a7c178309 /subplot/client.py | |
parent | 5837d8a8c56cd06a71696ab1152e92d7c1464c57 (diff) | |
parent | dc241ec8d5bbc88d1a4290d832b98b3a3969e3cc (diff) | |
download | obnam2-dc7fd9e24ed488af27b2e5b067652f3ba244bc3d.tar.gz |
Merge branch 'backupinfo' into 'main'
feat: backup run now ends with a summary
See merge request larswirzenius/obnam!65
Diffstat (limited to 'subplot/client.py')
-rw-r--r-- | subplot/client.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/subplot/client.py b/subplot/client.py index 53c7f6e..d450b4c 100644 --- a/subplot/client.py +++ b/subplot/client.py @@ -1,3 +1,4 @@ +import logging import os import yaml @@ -63,7 +64,7 @@ def capture_generation_id(ctx, varname=None): stdout = runcmd_get_stdout(ctx) gen_id = "unknown" for line in stdout.splitlines(): - if line.startswith("gen id:"): + if line.startswith("generation-id:"): gen_id = line.split()[-1] v = ctx.get("vars", {}) |