mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-11 01:41:57 -04:00
pyinstaller missing module workaround
This commit is contained in:
parent
98aa125386
commit
fef9d63111
1 changed files with 3 additions and 0 deletions
|
|
@ -12,6 +12,9 @@ from .base import ENOATTR, API_VERSION
|
|||
from .base import SaveFile, sync_dir, fdatasync, safe_fadvise
|
||||
from .base import get_process_id, fqdn, hostname, hostid
|
||||
|
||||
# work around pyinstaller "forgetting" to include the xattr module
|
||||
from . import xattr # noqa: F401
|
||||
|
||||
platform_ug: ModuleType | None = None # make mypy happy
|
||||
|
||||
if is_linux: # pragma: linux only
|
||||
|
|
|
|||
Loading…
Reference in a new issue