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():
|
if 'blake2b_init' in fd.read():
|
||||||
return prefix
|
return prefix
|
||||||
|
|
||||||
|
|
||||||
include_dirs = []
|
include_dirs = []
|
||||||
library_dirs = []
|
library_dirs = []
|
||||||
define_macros = []
|
define_macros = []
|
||||||
|
|
|
@ -672,6 +672,7 @@ def replace_placeholders(text):
|
||||||
}
|
}
|
||||||
return format_line(text, data)
|
return format_line(text, data)
|
||||||
|
|
||||||
|
|
||||||
PrefixSpec = replace_placeholders
|
PrefixSpec = replace_placeholders
|
||||||
|
|
||||||
|
|
||||||
|
@ -1669,6 +1670,7 @@ def scandir_generic(path='.'):
|
||||||
for name in sorted(os.listdir(path)):
|
for name in sorted(os.listdir(path)):
|
||||||
yield GenericDirEntry(path, name)
|
yield GenericDirEntry(path, name)
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from os import scandir
|
from os import scandir
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|
|
@ -34,6 +34,7 @@ def acl_set(path, item, numeric_owner=False):
|
||||||
of the user/group names
|
of the user/group names
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from os import lchflags
|
from os import lchflags
|
||||||
|
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -16,4 +16,4 @@ passenv = *
|
||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
changedir =
|
changedir =
|
||||||
deps = flake8
|
deps = flake8
|
||||||
commands = flake8
|
commands = flake8 src scripts conftest.py
|
||||||
|
|
Loading…
Reference in a new issue