Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit 52aa83e

Browse files
committed
Fix up some pylint.
1 parent 65466b2 commit 52aa83e

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

tests/pylint-virtinst.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ ACCESS__CONN="Access to a protected member _conn"
7070

7171
# There isn't a clean API way to access this functions from the API, but
7272
# they provide info that is needed. These need need to be fixed.
73-
PROT_MEM_BUGS="protected member (_lookup_osdict_key|_OS_TYPES|_prepare_install|_create_devices|_add_install_dev)|'virtinst.FullVirtGuest' has no '_OS_TYPES'"
73+
PROT_MEM_BUGS="protected member (_lookup_osdict_key|_OS_TYPES|_prepare_install|_create_devices|_add_install_dev|_cleanup_install)|'virtinst.FullVirtGuest' has no '_OS_TYPES'"
7474

7575
DMSG=""
7676
addmsg() {

virtinst/ImageInstaller.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import Installer
2424
import ImageParser
2525
import CapabilitiesParser as Cap
26-
import _util
2726
from VirtualDisk import VirtualDisk
2827
from virtinst import _virtinst as _
2928

virtinst/VirtualDevice.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,6 @@ def setup_dev(self, conn=None, meter=None):
126126
@param meter: Optional progress meter to use
127127
"""
128128
# Will be overwritten by subclasses if necessary.
129+
ignore = conn
130+
ignore = meter
129131
return

0 commit comments

Comments
 (0)