summaryrefslogtreecommitdiffstats
path: root/partErrors.py
Commit message (Collapse)AuthorAgeFilesLines
* Move all the exceptions into a single file.Chris Lumens2008-06-091-49/+0
|
* Use "message" instead of "value" on errors, and stringify on the front side.Peter Jones2008-06-031-9/+9
| | | | | | This should (hopefully) prevent partitioning tracebacks where we get a traceback from Objects/object.c claiming "__str__ returned non-string (type error)"
* More partitioning error handling fixes (#446453).Chris Lumens2008-05-151-3/+3
|
* Clean up typos and other things for GPLv2+ changes.David Cantrell2007-12-171-3/+3
| | | | | | | Shorten 'Red Hat Author(s)' to just 'Author(s)'. Perhaps eventually we'll get an AUTHORS file and will just remove author names from the individual files. Also fixed a type in scripts/dumphdrlist.py where Author was listed twice.
* Common GPLv2+ boilerplate on toplevel python source files.David Cantrell2007-12-171-9/+16
| | | | | | Updated all *.py files to have a uniform GPL boilerplate. Expanded copyright year ranges and listed authors (if they were in the comment section) under the Red Hat Author(s) section.
* Lots of minor pychecker error fixes. Some of these are even real problems.Chris Lumens2007-09-191-1/+8
|
* Some minor partitioning cleanups suggested by pychecker.Chris Lumens2006-06-221-2/+2
|
* msw says it's 2002 :)Jeremy Katz2002-02-071-1/+1
|
* stage 1 of the partitioning.py cleanup effort --Jeremy Katz2002-02-061-0/+35
1) move the following functions from partitioning.py -> partedUtils.py get_flags, start_sector_to_cyl, end_sector_to_cyl, start_cyl_to_sector, end_cyl_to_sector, getPartSize, getPartSizeMB, getDeviceSizeMB, get_partition_by_name, get_partition_name, get_partition_file_system_type, set_partition_file_system_type, get_partition_drive, map_foreign_to_fsname, filter_partitions, get_logical_partitions, get_primary_partitions, get_raid_partitions, get_lvm_partitions, 2) move PartitioningError and PartitioningWarning classes from partitioning.py -> partErrors.py Change everything that depends on these functions to use the new location