On Fri, 2009-03-13 at 18:09 -1000, David Cantrell wrote: > Raise FSResizeError exception if we enter this method, but the > format is not resizable. The calling methods have checks to > prevent this from happening, so if we get this far, it should > be an exception. Ack. > --- > storage/formats/fs.py | 3 +-- > 1 files changed, 1 insertions(+), 2 deletions(-) > > diff --git a/storage/formats/fs.py b/storage/formats/fs.py > index ddab4b6..ab01de4 100644 > --- a/storage/formats/fs.py > +++ b/storage/formats/fs.py > @@ -408,8 +408,7 @@ class FS(DeviceFormat): > raise FSResizeError("filesystem does not exist", self.device) > > if not self.resizable: > - # should this instead raise an exception? > - return > + raise FSResizeError("filesystem not resizable", self.device) > > if self.targetSize == self.currentSize: > return _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list