1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-24 15:12:00 +00:00

Merge pull request #1850 from enkore/f/redpepper

fixes for flake 3.1.1
This commit is contained in:
enkore 2016-11-14 22:28:47 +01:00 committed by GitHub
commit 58024c0b1b
4 changed files with 5 additions and 1 deletions

View file

@ -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 = []

View file

@ -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:

View file

@ -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

View file

@ -16,4 +16,4 @@ passenv = *
[testenv:flake8] [testenv:flake8]
changedir = changedir =
deps = flake8 deps = flake8
commands = flake8 commands = flake8 src scripts conftest.py