mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
pycriu/images: replace wildcard import with explicit names
Replace 'from .images import *' with an explicit import list to prevent namespace pollution, as the images module does not define '__all__'. Assisted-by: Claude Code (claude-opus-4-6@default) Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
parent
612f9d8f46
commit
a93f2e77ff
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import sys, os
|
||||
sys.path.append(os.path.dirname(os.path.realpath(__file__)))
|
||||
from .magic import *
|
||||
from .images import *
|
||||
from .images import (load, loads, dump, dumps, info,
|
||||
handlers, MagicException, entry_handler)
|
||||
from .pb import *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue