Skip to content

Commit e231d01

Browse files
committed
Fix getting missing libblockdev technologies with Python 3.14
Hotfix for rhbz#2371256. Technologies in libblockdev are defined as enums and we are using 'value_name' to get the technology name/ description in blivet. For some unknown reason the 'value_name' attribute from GLib.GEnumValue is not available with Python 3.14. This needs to be investigated more thoroughly, but for now we can just not include this information. Resolves: rhbz#2371256
1 parent bfdf8e5 commit e231d01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blivet/tasks/availability.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def _check_technologies(self):
225225
try:
226226
self._tech_info.check_fn(tech, mode)
227227
except GLib.GError as e:
228-
errors.append("%s: %s" % (tech.value_name, e.message))
228+
errors.append("%s" % e.message)
229229
return errors
230230

231231
def availability_errors(self, resource):

0 commit comments

Comments
 (0)