Change name of get_lsb_information()

This commit is contained in:
Hugo Posnic 2016-12-17 11:57:13 +01:00
parent 7ee76863f9
commit 849c7e4ad3

View File

@ -218,7 +218,7 @@ class ManjaroHello():
Gtk.main_quit(*args)
def get_infos():
lsb = get_lsb_information()
lsb = get_lsb_infos()
infos = {}
infos["codename"] = lsb.get("CODENAME", None)
infos["release"] = lsb.get("RELEASE", None)
@ -226,7 +226,7 @@ def get_infos():
infos["live"] = os.path.exists("/bootmnt/manjaro") or os.path.exists("/run/miso/bootmnt/manjaro")
return infos
def get_lsb_information():
def get_lsb_infos():
lsb = {}
try:
with open("/etc/lsb-release") as lsb_file: