From 95e39e05faa97b047cc5e240c318715070c54ec0 Mon Sep 17 00:00:00 2001 From: Kevin Kofler Date: Mon, 1 Dec 2014 03:03:20 +0100 Subject: [PATCH] displaymanager: Use libcalamares.utils.debug instead of print. Use libcalamares.utils.debug instead of print to output a debugging message during SDDM autologin setup. --- src/modules/displaymanager/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/displaymanager/main.py b/src/modules/displaymanager/main.py index 2168662c3..5fc45ab72 100644 --- a/src/modules/displaymanager/main.py +++ b/src/modules/displaymanager/main.py @@ -171,7 +171,7 @@ def set_autologin(username, displaymanagers, default_desktop_environment, root_m # Systems with Sddm as Desktop Manager sddm_conf_path = os.path.join(root_mount_point, "etc/sddm.conf") if os.path.isfile(sddm_conf_path): - print('SDDM config file exists') + libcalamares.utils.debug('SDDM config file exists') else: libcalamares.utils.check_chroot_call(["sh", "-c", "sddm --example-config > /etc/sddm.conf"]) text = []