fix syntax

This commit is contained in:
Daniel Wallace 2017-08-01 15:23:28 -06:00
parent 178cc1bd81
commit 8784899942

View File

@ -181,7 +181,7 @@ def _check_versionlock():
Ensure that the appropriate versionlock plugin is present
'''
if _yum() == 'dnf':
elif int(__grains__.get('osmajorrelease')) >= 26:
if int(__grains__.get('osmajorrelease')) >= 26:
if six.PY3:
vl_plugin = 'python3-dnf-plugin-versionlock'
else: