mirror of https://github.com/borgbackup/borg.git
fixes for flake 3.1.1
This commit is contained in:
parent
cf8f8fb746
commit
c380d91805
1
setup.py
1
setup.py
|
@ -136,6 +136,7 @@ def detect_libb2(prefixes):
|
|||
if 'blake2b_init' in fd.read():
|
||||
return prefix
|
||||
|
||||
|
||||
include_dirs = []
|
||||
library_dirs = []
|
||||
define_macros = []
|
||||
|
|
|
@ -672,6 +672,7 @@ def replace_placeholders(text):
|
|||
}
|
||||
return format_line(text, data)
|
||||
|
||||
|
||||
PrefixSpec = replace_placeholders
|
||||
|
||||
|
||||
|
@ -1669,6 +1670,7 @@ def scandir_generic(path='.'):
|
|||
for name in sorted(os.listdir(path)):
|
||||
yield GenericDirEntry(path, name)
|
||||
|
||||
|
||||
try:
|
||||
from os import scandir
|
||||
except ImportError:
|
||||
|
|
|
@ -34,6 +34,7 @@ def acl_set(path, item, numeric_owner=False):
|
|||
of the user/group names
|
||||
"""
|
||||
|
||||
|
||||
try:
|
||||
from os import lchflags
|
||||
|
||||
|
|
Loading…
Reference in New Issue