mirror of
https://github.com/borgbackup/borg.git
synced 2026-04-10 11:26:36 -04:00
no bare except
This commit is contained in:
parent
dee9869a03
commit
a21da5d2e0
2 changed files with 2 additions and 4 deletions
|
|
@ -587,7 +587,7 @@ class ArchiveChecker:
|
|||
continue
|
||||
try:
|
||||
archive = msgpack.unpackb(data)
|
||||
except:
|
||||
except Exception:
|
||||
continue
|
||||
if isinstance(archive, dict) and b'items' in archive and b'cmdline' in archive:
|
||||
self.report_progress('Found archive ' + archive[b'name'].decode('utf-8'), error=True)
|
||||
|
|
|
|||
|
|
@ -228,7 +228,5 @@ class AtticOperations(llfuse.Operations):
|
|||
daemonize()
|
||||
try:
|
||||
llfuse.main(single=True)
|
||||
except:
|
||||
finally:
|
||||
llfuse.close()
|
||||
raise
|
||||
llfuse.close()
|
||||
|
|
|
|||
Loading…
Reference in a new issue