summaryrefslogtreecommitdiff
path: root/hosts/vidhar/borg/copy.py
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-18 12:54:44 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-18 12:54:44 +0100
commit88bfd77de0d0a6ab596013898a72e4df04d06bf8 (patch)
tree46f421e098074843a7adc1dc67519e5760e972ed /hosts/vidhar/borg/copy.py
parentd0fbb7551f173e02b11b4964541ba7576848fc28 (diff)
downloadnixos-88bfd77de0d0a6ab596013898a72e4df04d06bf8.tar
nixos-88bfd77de0d0a6ab596013898a72e4df04d06bf8.tar.gz
nixos-88bfd77de0d0a6ab596013898a72e4df04d06bf8.tar.bz2
nixos-88bfd77de0d0a6ab596013898a72e4df04d06bf8.tar.xz
nixos-88bfd77de0d0a6ab596013898a72e4df04d06bf8.zip
vidhar: ...
Diffstat (limited to 'hosts/vidhar/borg/copy.py')
-rwxr-xr-xhosts/vidhar/borg/copy.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/hosts/vidhar/borg/copy.py b/hosts/vidhar/borg/copy.py
index e6f64c95..3de2a653 100755
--- a/hosts/vidhar/borg/copy.py
+++ b/hosts/vidhar/borg/copy.py
@@ -196,6 +196,7 @@ def copy_archive(src_repo_path, dst_repo_path, entry):
196 last_list = None 196 last_list = None
197 last_list_time = None 197 last_list_time = None
198 for line in proc.stderr: 198 for line in proc.stderr:
199 print(line, file=stderr)
199 try: 200 try:
200 json_line = json.loads(line) 201 json_line = json.loads(line)
201 except json.decoder.JSONDecodeError: 202 except json.decoder.JSONDecodeError: