Fix some pylint

This commit is contained in:
Cole Robinson 2013-08-08 20:37:46 -04:00
parent 8f1bc4decb
commit 071860f9c0

View File

@ -1218,8 +1218,8 @@ 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")]
@ -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"