mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 10:30:13 +01:00
contrib/rh-bkr: default to RHEL 7 if distro unspecified
This commit is contained in:
parent
e804b0614a
commit
834c331f68
1 changed files with 3 additions and 3 deletions
|
|
@ -788,10 +788,10 @@ class CmdSubmit(CmdBase):
|
|||
vt = None
|
||||
if vn is not None:
|
||||
return '<distro_name op="=" value="%s"/>' % (vn)
|
||||
ret = '<distro_family op="=" value="%s"/>' % self._get_var('DISTRO_FAMILY')
|
||||
if vt is not None:
|
||||
vt = self._get_var('DISTRO_TAG', True)
|
||||
return '<distro_family op="=" value="%s"/><distro_tag op="=" value="%s"/>' % (self._get_var('DISTRO_FAMILY'), vt)
|
||||
return None
|
||||
ret = ret + '<distro_tag op="=" value="%s"/>' % self._get_var('DISTRO_TAG', True)
|
||||
return ret
|
||||
|
||||
def _get_var_for_RESERVESYS(self, key):
|
||||
v = self._get_var('RESERVESYS')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue