diff options
author | Logan Rathbone <poprocks@gmail.com> | 2022-04-23 01:29:11 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-24 01:47:22 +0700 |
commit | 93317a1cf567c9c8d6d4e500eef72dc4ed30c2a9 (patch) | |
tree | c087c5b79c027a59508ed92850f2a9ff4ab18705 /system/efiboots/efiboots-1.0-fix-python-exception.patch | |
parent | 12351235e59bd24a4df8f82092d9e0234cfb2de7 (diff) |
system/efiboots: Added (GTK3 frontend for efibootmgr).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/efiboots/efiboots-1.0-fix-python-exception.patch')
-rw-r--r-- | system/efiboots/efiboots-1.0-fix-python-exception.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/system/efiboots/efiboots-1.0-fix-python-exception.patch b/system/efiboots/efiboots-1.0-fix-python-exception.patch new file mode 100644 index 0000000000000..6900f0fd0a464 --- /dev/null +++ b/system/efiboots/efiboots-1.0-fix-python-exception.patch @@ -0,0 +1,12 @@ +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.") |