summaryrefslogtreecommitdiffstats
path: root/pyanaconda/errors.py
diff options
context:
space:
mode:
authorAles Kozumplik <akozumpl@redhat.com>2011-05-05 16:19:20 +0200
committerAles Kozumplik <akozumpl@redhat.com>2011-05-19 13:40:35 +0200
commit76de0e245593c7e84f2badb53edb6c28fc463efb (patch)
treee80642c5707967b676ec8e65b485e53fd8799f50 /pyanaconda/errors.py
parentc5142283c133fcc88d1433ac1e535d3b47be78bc (diff)
downloadanaconda-76de0e245593c7e84f2badb53edb6c28fc463efb.tar.gz
anaconda-76de0e245593c7e84f2badb53edb6c28fc463efb.tar.xz
anaconda-76de0e245593c7e84f2badb53edb6c28fc463efb.zip
Throw away the dispatcher 'skipList' and give Step a state.
In particular, 'scheduled' will run if not explicitly skipped, 'skipped' means 'is never going to be run' and 'requested' means 'will run and can not be skipped'.
Diffstat (limited to 'pyanaconda/errors.py')
-rw-r--r--pyanaconda/errors.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyanaconda/errors.py b/pyanaconda/errors.py
index 97337335f..0bb62376d 100644
--- a/pyanaconda/errors.py
+++ b/pyanaconda/errors.py
@@ -157,3 +157,6 @@ class NoSuchGroup(Exception):
def __str__ (self):
return self.value
+
+class DispatchError(RuntimeError):
+ pass