1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-27 18:28:42 +00:00

add missing lines

This commit is contained in:
Antoine Beaupré 2015-10-16 02:01:56 -04:00
parent d666c86bfc
commit 0d8525ad8f

View file

@ -167,6 +167,7 @@ def do_create(self, args):
archive.end = datetime.now() archive.end = datetime.now()
print('-' * 78) print('-' * 78)
print(str(archive)) print(str(archive))
print()
print(str(archive.stats)) print(str(archive.stats))
print(str(cache)) print(str(cache))
print('-' * 78) print('-' * 78)
@ -416,6 +417,7 @@ def do_info(self, args):
print('Time: %s' % to_localtime(archive.ts).strftime('%c')) print('Time: %s' % to_localtime(archive.ts).strftime('%c'))
print('Command line:', remove_surrogates(' '.join(archive.metadata[b'cmdline']))) print('Command line:', remove_surrogates(' '.join(archive.metadata[b'cmdline'])))
print('Number of files: %d' % stats.nfiles) print('Number of files: %d' % stats.nfiles)
print()
print(str(stats)) print(str(stats))
print(str(cache)) print(str(cache))
return self.exit_code return self.exit_code