[master 1/1] Fix UnboundLocalError in FSMinSize (#1249304)
vojtechtrefny
installerbot-noreply at redhat.com
Mon Aug 3 08:56:04 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..51bf61e 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: %d" % rc
if error_msg:
raise FSError(error_msg)
--
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/dfacb22c731efc19252efb788d6d425152d9d130
More information about the anaconda-patches
mailing list