From 071860f9c03191c75f2e6b163b5091e8dbc03164 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Thu, 8 Aug 2013 20:37:46 -0400 Subject: [PATCH] Fix some pylint --- virtinst/OSDistro.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/virtinst/OSDistro.py b/virtinst/OSDistro.py index e1f3ce257..4cd80b85c 100644 --- a/virtinst/OSDistro.py +++ b/virtinst/OSDistro.py @@ -1218,12 +1218,12 @@ class MandrivaDistro(Distro): class MageiaDistro(MandrivaDistro): name = "Mageia" -class ALTLinuxDistro(Distro): +class ALTLinuxDistro(Distro): name = "ALT Linux" os_type = "linux" - _boot_iso_paths = [ ("altinst", "live") ] - _hvm_kernel_paths = [ ("syslinux/alt0/vmlinuz", "syslinux/alt0/full.cz")] + _boot_iso_paths = [("altinst", "live")] + _hvm_kernel_paths = [("syslinux/alt0/vmlinuz", "syslinux/alt0/full.cz")] _xen_kernel_paths = [] def isValidStore(self, fetcher, progresscb): @@ -1236,15 +1236,13 @@ class ALTLinuxDistro(Distro): if self._fetchAndMatchRegex(fetcher, progresscb, ".disk/info", ".*%s.*" % self.name): - logging.debug("Detected a %s distro" % self.name) + logging.debug("Detected a %s distro", self.name) return True return False # Solaris and OpenSolaris distros - - class SunDistro(Distro): name = "Solaris"