update rss.py

This commit is contained in:
Louis Abel 2023-09-05 02:35:07 -07:00
parent 629c6ff7a3
commit 87da816b47
Signed by: label
GPG Key ID: 3331F061D1D9990E

View File

@ -191,7 +191,11 @@ def main(options):
else:
repoobj.enable()
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
print('Getting repo data')