Commit 31864c5c authored by Łukasz Nowak's avatar Łukasz Nowak

grid: Fix OS detection

parent 49db2b63
...@@ -55,6 +55,7 @@ def _debianize(os): ...@@ -55,6 +55,7 @@ def _debianize(os):
minor releases would be seen as not compatible to each other. minor releases would be seen as not compatible to each other.
""" """
distname, version, id_ = os distname, version, id_ = os
distname = distname.lower()
if distname == 'debian' and '.' in version: if distname == 'debian' and '.' in version:
version = version.split('.')[0] version = version.split('.')[0]
return distname, version, id_ 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