fix missing feature
This commit is contained in:
parent
58f5b81f46
commit
2f7d07b492
@ -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