Commit 31beb7d9 authored by Rafael Monnerat's avatar Rafael Monnerat

grid: Fix OS detection

See merge request !192
parents 042e4d06 31864c5c
Pipeline #9231 canceled with stage
......@@ -55,6 +55,7 @@ def _debianize(os):
minor releases would be seen as not compatible to each other.
"""
distname, version, id_ = os
distname = distname.lower()
if distname == 'debian' and '.' in version:
version = version.split('.')[0]
return distname, version, id_
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment