From 3b3f76fdb35a17c83d36f97908da59745d0698af Mon Sep 17 00:00:00 2001 From: gau1991 Date: Thu, 22 Jan 2015 19:02:07 +0530 Subject: [PATCH] Fixed codename issue for debian --- ee/core/variables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/core/variables.py b/ee/core/variables.py index 1e524ec9..6efa0bef 100644 --- a/ee/core/variables.py +++ b/ee/core/variables.py @@ -26,7 +26,7 @@ class EEVariables(): # EasyEngine core variables ee_platform_distro = platform.linux_distribution()[0] ee_platform_version = platform.linux_distribution()[1] - ee_platform_codename = platform.linux_distribution()[2] + ee_platform_codename = os.popen("lsb_release -sc | tr -d \'\\n\'").read() # Get FQDN of system ee_fqdn = socket.getfqdn()