diff options
author | Hans de Goede <hdegoede@redhat.com> | 2010-01-14 10:59:19 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2010-01-14 10:59:19 +0100 |
commit | eec3ab2d3c0d19f73cc7fca3113f128d36279171 (patch) | |
tree | 78787624481a4d8ba1147236c392094e3a7e960a /errors.py | |
parent | df71485041f40c5a2833900d6fae2bddefa52dd1 (diff) | |
download | anaconda-eec3ab2d3c0d19f73cc7fca3113f128d36279171.tar.gz anaconda-eec3ab2d3c0d19f73cc7fca3113f128d36279171.tar.xz anaconda-eec3ab2d3c0d19f73cc7fca3113f128d36279171.zip |
pylint error fixes round 2
- Remove unnecessary semi colons in various places
- textw/upgrade_text.py: add a few missing imports
- Fix various missplaced doc strings
- Fix several double imports
- Fix AnacondaKSScript.run: Module 'os' has no 'exists' member
- users.py: Remove double definition of Users.setRootPassword
- yuminstall.py: correct typo reop -> repo
- yuminstall.py: _run: anaconda -> self.anaconda
Diffstat (limited to 'errors.py')
-rw-r--r-- | errors.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -27,7 +27,7 @@ import string import os from constants import lvmErrorOutput -"""Exceptions for use in lvm operations.""" +# Exceptions for use in lvm operations. class LvmError(Exception): """An error occurred with lvm.""" @@ -123,7 +123,7 @@ class PVCreateError(LvmError): return "pvcreate of pv \"%s\" failed\nLog:\n%s" % ( \ self.pvname, self.log) -"""Exceptions for use in partitioning.""" +# Exceptions for use in partitioning. class PartitioningError(Exception): """A critical error which must be resolved to continue the installation.""" @@ -149,7 +149,7 @@ class LabelError(Exception): def __str__(self): return self.message -"""Exceptions for use in package selection.""" +# Exceptions for use in package selection. class NoSuchGroup(Exception): def __init__ (self, value): |