fix missing feature

This commit is contained in:
Louis Abel 2023-09-05 02:35:23 -07:00
parent 58f5b81f46
commit 2f7d07b492
Signed by: label
GPG Key ID: B37E62D143879B36

View File

@ -191,7 +191,11 @@ def main(options):
else: else:
repoobj.enable() repoobj.enable()
if options.module_hotfixes: if options.module_hotfixes:
repoobj.set_or_append_opt_value('module_hotfixes', '1') try:
repoobj.set_or_append_opt_value('module_hotfixes', '1')
except:
print('Warning: dnf library is too old to support setting values')
repoobj.load_metadata_other = True repoobj.load_metadata_other = True
print('Getting repo data') print('Getting repo data')