[blivet:master 1/6] Use correct package for FSError.

mulhern amulhern at redhat.com
Wed Dec 17 14:33:43 UTC 2014


Signed-off-by: mulhern <amulhern at redhat.com>
---
 blivet/formats/fslabel.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blivet/formats/fslabel.py b/blivet/formats/fslabel.py
index 0e5a8a3..81c18e6 100644
--- a/blivet/formats/fslabel.py
+++ b/blivet/formats/fslabel.py
@@ -64,7 +64,7 @@ class FSLabelApp(object):
            Raises an exception if fs.label is None.
         """
         if fs.label is None:
-            raise fs.FSError("makes no sense to write a label when accepting default label")
+            raise errors.FSError("makes no sense to write a label when accepting default label")
         return [self.name] + self._writeLabelArgs(fs)
 
     @abc.abstractmethod
-- 
1.9.3



More information about the anaconda-patches mailing list