[master 4/30] Add an FSLabelError to error heirarchy.
mulkieran
installerbot-noreply at redhat.com
Fri Apr 10 19:49:32 UTC 2015
From: mulhern <amulhern at redhat.com>
Related: #12
Because labeling errors are sometimes not as severe as other errors,
so we do want to distinguish.
Signed-off-by: mulhern <amulhern at redhat.com>
---
blivet/errors.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/blivet/errors.py b/blivet/errors.py
index b05c0c7..4a93895 100644
--- a/blivet/errors.py
+++ b/blivet/errors.py
@@ -75,6 +75,12 @@ class MultipathMemberError(DeviceFormatError):
class FSError(DeviceFormatError):
pass
+class FSWriteLabelError(FSError):
+ pass
+
+class FSReadLabelError(FSError):
+ pass
+
class FSResizeError(FSError):
def __init__(self, message, details):
FSError.__init__(self, message)
--
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/8b5efe72e08ca369e4a7c375fecb5e04696567e5
More information about the anaconda-patches
mailing list