[master 1/1] Fix UnboundLocalError in FSMinSize (#1249304)

vojtechtrefny installerbot-noreply at redhat.com
Mon Aug 3 08:13:13 UTC 2015


From: Vojtech Trefny <vtrefny at redhat.com>

Signed-off-by: Vojtech Trefny <vtrefny at redhat.com>
---
 blivet/tasks/fsminsize.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blivet/tasks/fsminsize.py b/blivet/tasks/fsminsize.py
index 999240e..0a47d08 100644
--- a/blivet/tasks/fsminsize.py
+++ b/blivet/tasks/fsminsize.py
@@ -54,7 +54,7 @@ def _getResizeInfo(self):
         except OSError as e:
             error_msg = "failed to gather info from resize program: %s" % e
         if rc:
-            error_msg = "failed to gather info from resize program: %s" % e
+            error_msg = "failed to gather info from resize program: %s" % rc
 
         if error_msg:
             raise FSError(error_msg)


-- 
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/51c078cb7663c5e7201416bc6ab952405e986795


More information about the anaconda-patches mailing list