Skip to content

Commit fef9d63

Browse files
pyinstaller missing module workaround
1 parent 98aa125 commit fef9d63

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/borg/platform/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
from .base import SaveFile, sync_dir, fdatasync, safe_fadvise
1313
from .base import get_process_id, fqdn, hostname, hostid
1414

15+
# work around pyinstaller "forgetting" to include the xattr module
16+
from . import xattr # noqa: F401
17+
1518
platform_ug: ModuleType | None = None # make mypy happy
1619

1720
if is_linux: # pragma: linux only

0 commit comments

Comments
 (0)