#!/usr/bin/env python #-*- coding:utf-8 -*- # distribution codes # Code to use to replace the value returned by: lsb_release -si # If no code is found an error will be raised. DISTRIBUTIONS : { "centos": "CO" "debian": "DB" "fedora": "FD" "linuxmint": "MN" "mageia": "MG" "mandriva": "MD" "redhat": "CO" "red hat": "CO" "ubuntu": "UB" "opensuse":"OS" "Windows" : "W" }