summaryrefslogtreecommitdiffstats
path: root/usr/share/mageiawelcome/mageiawelcome.py
diff options
context:
space:
mode:
Diffstat (limited to 'usr/share/mageiawelcome/mageiawelcome.py')
-rw-r--r--usr/share/mageiawelcome/mageiawelcome.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/share/mageiawelcome/mageiawelcome.py b/usr/share/mageiawelcome/mageiawelcome.py
index 089689b..bc1e0b7 100644
--- a/usr/share/mageiawelcome/mageiawelcome.py
+++ b/usr/share/mageiawelcome/mageiawelcome.py
@@ -43,7 +43,9 @@ def main():
os.chdir(dname)
#collect sys info
- release = open("/etc/release", "r").read()
+ #release = open("/etc/release", "r").read()
+ release = commands.getoutput('lsb_release -sd')
+ release = release[1:-1]
kernel = commands.getoutput('uname -r')
if os.uname()[4] == 'x86_64':
arch = '64-bit'
@@ -60,7 +62,7 @@ def main():
#collect packages nad its status
listapp = get_listapp()
- #check if non-free and tainted enabled
+ #TODO check if non-free and tainted enabled
restricted_repos = "disabled"