Skip to content

Commit 459ec26

Browse files
committed
arch: Get rid of star imports
1 parent e9e8e48 commit 459ec26

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

src/systrack/arch/__init__.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,20 @@
44
from ..elf import ELF
55
from ..type_hints import KernelVersion
66

7-
from .all import *
87
from .arch_base import Arch
8+
from .arm import ArchArm
9+
from .arm64 import ArchArm64
10+
from .mips import ArchMips
11+
from .powerpc import ArchPowerPC
12+
from .x86 import ArchX86
13+
14+
ARCH_CLASSES = (
15+
ArchArm,
16+
ArchArm64,
17+
ArchMips,
18+
ArchPowerPC,
19+
ArchX86,
20+
)
921

1022
# NOTE: For the sake of mental sanity, try keeping abi= the same name as the one
1123
# in the *.tbl files in the kernel sources.

src/systrack/arch/all.py

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)