Skip to content

Commit 2418ffb

Browse files
committed
minor cleanups
1 parent a219fac commit 2418ffb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/gardenlinux/build/exporter.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
from elftools.common.exceptions import ELFError
1111
from elftools.elf.elffile import ELFFile
1212

13-
from ..logger import LoggerSetup
14-
1513
# Parses dependencies from ld output
1614
parse_output = re.compile("(?:.*=>)?\\s*(/\\S*).*\n")
1715
# Remove leading /
@@ -67,7 +65,7 @@ def _getInterpreter(path: str | PathLike[str]) -> pathlib.Path:
6765
)
6866

6967

70-
def _get_default_package_dir() -> pathlib.Path | None:
68+
def _get_default_package_dir() -> pathlib.Path:
7169
"""
7270
Finds the default site-packages or dist-packages directory of the default python3 environment
7371

0 commit comments

Comments
 (0)