mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-25 17:27:31 +00:00
fix linter errors
This commit is contained in:
parent
72994a4432
commit
c01f3527e5
2 changed files with 1 additions and 4 deletions
|
@ -1356,7 +1356,7 @@ def item_to_tarinfo(item, original_path):
|
|||
tarinfo.uid = item.uid
|
||||
tarinfo.gid = item.gid
|
||||
tarinfo.uname = item.get('user', '')
|
||||
tarinfo.gname = item.get('group', '')
|
||||
tarinfo.gname = item.get('group', '')
|
||||
# The linkname in tar has 2 uses:
|
||||
# for symlinks it means the destination, while for hardlinks it refers to the file.
|
||||
# Since hardlinks in tar have a different type code (LNKTYPE) the format might
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import configparser
|
||||
import json
|
||||
import os
|
||||
import shutil
|
||||
import stat
|
||||
|
@ -655,8 +654,6 @@ def sync(self):
|
|||
archive indexes.
|
||||
"""
|
||||
archive_path = os.path.join(self.path, 'chunks.archive.d')
|
||||
# An index of chunks whose size had to be fetched
|
||||
chunks_fetched_size_index = ChunkIndex()
|
||||
# Instrumentation
|
||||
processed_item_metadata_bytes = 0
|
||||
processed_item_metadata_chunks = 0
|
||||
|
|
Loading…
Reference in a new issue