update rss.py
This commit is contained in:
parent
629c6ff7a3
commit
87da816b47
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user