grid: Fix debian detection
In some cases the debian distribution version string can be returned uppercase.
Showing
In some cases the debian distribution version string can be returned uppercase.
... | ... | @@ -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() | ||
Please
register
or
sign in
to reply
|
||
if distname == 'debian' and '.' in version: | ||
version = version.split('.')[0] | ||
return distname, version, id_ | ||
... | ... |
mentioned in commit ec554aa8
·mentioned in commit ec554aa8