slackbuilds_ponce/system/efiboots/efiboots-1.0-fix-python-exception.patch
Logan Rathbone 93317a1cf5
system/efiboots: Added (GTK3 frontend for efibootmgr).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2022-04-24 01:47:22 +07:00

12 lines
910 B
Diff

diff -Naur efiboots-1.0.orig/efiboots.py efiboots-1.0/efiboots.py
--- efiboots-1.0.orig/efiboots.py 2022-04-12 01:36:59.888996574 -0400
+++ efiboots-1.0/efiboots.py 2022-04-12 01:37:32.991997960 -0400
@@ -272,7 +272,7 @@
boot = run_efibootmgr()
except subprocess.CalledProcessError as e:
logging.exception("Error running efibootmgr. Please check that it is correctly installed.")
- error_dialog(parent=self.window, title="efibootmgr utility not installed!", message="Please check that the efibootmgr utility is correctly installed, as this program requires its output.\n" + e)
+ error_dialog(parent=self.window, title="efibootmgr utility not installed!", message="Please check that the efibootmgr utility is correctly installed, as this program requires its output.\n" + e.output)
sys.exit(-1)
except UnicodeDecodeError as e:
logging.exception("Error decoding efibootmgr -v output.")