[master 13/30] Add an FSLabelError to error heirarchy.

mulkieran installerbot-noreply at redhat.com
Wed Mar 25 22:47:51 UTC 2015


From: mulhern <amulhern at redhat.com>

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/8f8aa915c734624580da67f1f74f42a4b60ef2d6


More information about the anaconda-patches mailing list