Commit 1628248d authored by Marco Mariani's avatar Marco Mariani

fix debian check with unstable/testing release

parent 7c256d98
......@@ -49,9 +49,9 @@ def fallback_call(function):
def debianize(os):
# return only the major release number in case of debian
# keep only the major release number in case of debian
distname, version, id_ = os
if distname == 'debian':
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