diff options
author | Hans de Goede <hdegoede@redhat.com> | 2010-01-12 22:50:24 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2010-01-14 10:46:27 +0100 |
commit | df71485041f40c5a2833900d6fae2bddefa52dd1 (patch) | |
tree | 5c266614b3eb81e5de572bb1f107e72fabef21e7 /platform.py | |
parent | 8e52cd10af2e6881db8ad567cfdbea1fe9388acc (diff) | |
download | anaconda-df71485041f40c5a2833900d6fae2bddefa52dd1.tar.gz anaconda-df71485041f40c5a2833900d6fae2bddefa52dd1.tar.xz anaconda-df71485041f40c5a2833900d6fae2bddefa52dd1.zip |
Fixup various errors detected by pylint
I've been running pylint on a subset of anaconda:
booty storage iw/*.py platform.py
And it has found various errors this commit fixes:
- Restore line accidently dropped from iscsi.py
- execWithPulseProgress should propagate the return value of
execWithCallback
- storage.formats.fs:535 (FS.doCheck): self.intf should be just intf
- storage.formats.fs: add missing "import sys" (for sys.exit)
- advanced_config.py add missing import for NetworkConfigurator
- lvm_dialog_gui.py: VolumeGroupEditor.editLogicalVolume dev was renamed to d
- partition_gui.py: remove an unneeded semicolon
- partition_gui.py: PartitionWindow.createCB rc should be dialog_rc
- storage.FSSet.write: put docstring in the proper place
- platform.Sparc.minimumSector: sectors should be sector
Diffstat (limited to 'platform.py')
-rw-r--r-- | platform.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform.py b/platform.py index d5c1e685d..2a841e879 100644 --- a/platform.py +++ b/platform.py @@ -465,7 +465,7 @@ class Sparc(Platform): @property def minimumSector(self, disk): - (cylinders, heads, sector) = disk.device.biosGeometry + (cylinders, heads, sectors) = disk.device.biosGeometry start = long(sectors * heads) start /= long(1024 / disk.device.sectorSize) return start+1 |