mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
backups: Remove an unnecessary print() statement
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
e59f9ac3fc
commit
3fd0921e0f
@ -130,7 +130,6 @@ class BaseBorgRepository(abc.ABC):
|
||||
"""Return Borg information about a repository."""
|
||||
output = self.run(['info', '--path', self.borg_path])
|
||||
output = json.loads(output)
|
||||
print(output, self._get_encryption_data())
|
||||
if output['encryption']['mode'] == 'none' and \
|
||||
self._get_encryption_data():
|
||||
raise errors.BorgUnencryptedRepository(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user