mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-24 15:12:00 +00:00
commit
58024c0b1b
4 changed files with 5 additions and 1 deletions
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
|
||||
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -16,4 +16,4 @@ passenv = *
|
|||
[testenv:flake8]
|
||||
changedir =
|
||||
deps = flake8
|
||||
commands = flake8
|
||||
commands = flake8 src scripts conftest.py
|
||||
|
|
Loading…
Reference in a new issue