summaryrefslogtreecommitdiffstats
path: root/partErrors.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-06-22 18:33:23 +0000
committerChris Lumens <clumens@redhat.com>2006-06-22 18:33:23 +0000
commita8510cf3169b2dabc5161529ac73ccfd9ade6eab (patch)
tree374e9259e2aabb061cd6b3fd1fd1a79acc2a5d90 /partErrors.py
parenta7e1d4a370af451923d0659fdf6532fda56e8202 (diff)
downloadanaconda-a8510cf3169b2dabc5161529ac73ccfd9ade6eab.tar.gz
anaconda-a8510cf3169b2dabc5161529ac73ccfd9ade6eab.tar.xz
anaconda-a8510cf3169b2dabc5161529ac73ccfd9ade6eab.zip
Some minor partitioning cleanups suggested by pychecker.
Diffstat (limited to 'partErrors.py')
-rw-r--r--partErrors.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/partErrors.py b/partErrors.py
index 14835a0d0..e85e934dc 100644
--- a/partErrors.py
+++ b/partErrors.py
@@ -17,7 +17,7 @@
"""Exceptions for use in partitioning."""
-class PartitioningError:
+class PartitioningError(Exception):
"""A critical error which must be resolved to continue the installation."""
def __init__ (self, value):
self.value = value
@@ -25,7 +25,7 @@ class PartitioningError:
def __str__ (self):
return self.value
-class PartitioningWarning:
+class PartitioningWarning(Exception):
"""A warning which may be ignored and still complete the installation."""
def __init__ (self, value):
self.value = value