From 2f7d07b492cda62944243b2fdb074a2e516a7fd3 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Tue, 5 Sep 2023 02:35:23 -0700 Subject: [PATCH] fix missing feature --- mangle/generators/rss.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mangle/generators/rss.py b/mangle/generators/rss.py index e7396f6..03e6db8 100644 --- a/mangle/generators/rss.py +++ b/mangle/generators/rss.py @@ -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')