@@ -19,7 +19,7 @@ def load_config(config_path):
1919 print ("#Reading yaml file:" + config_path )
2020 print ("Loading: " + config_path )
2121 else :
22- err ("{} doesn't exists. Please create config file!" .format (config_path ))
22+ print ("{} doesn't exists. Please create config file!" .format (config_path ))
2323 return {}
2424
2525 try :
@@ -65,7 +65,7 @@ def set(key, value):
6565 for distro_system in glob ("configs/distribution/*" ):
6666 distro = load_config (distro_system )
6767 if not distro :
68- err ("Failed to load: " + distro_system )
68+ print ("Failed to load: " + distro_system )
6969 elif "check_this_dir" in distro and os .path .exists (distro ["check_this_dir" ]):
7070 break
7171else :
@@ -77,7 +77,7 @@ def set(key, value):
7777 for initramfs_system in glob ("configs/initramfs_systems/*" ):
7878 initramfs = load_config (initramfs_system )
7979 if not initramfs :
80- err ("Failed to load: " + initramfs_system )
80+ print ("Failed to load: " + initramfs_system )
8181 elif "check_this_dir" in initramfs and os .path .exists (initramfs ["check_this_dir" ]):
8282 break
8383else :
@@ -90,7 +90,7 @@ def set(key, value):
9090 for package_manager in glob ("configs/package_managers/*" ):
9191 pm = load_config (package_manager )
9292 if not pm :
93- err ("Failed to load: " + package_manager )
93+ print ("Failed to load: " + package_manager )
9494 elif "check_this_dir" in pm and os .path .exists (pm ["check_this_dir" ]):
9595 break
9696else :
@@ -102,7 +102,7 @@ def set(key, value):
102102 for display_manager in glob ("configs/display_managers/*" ):
103103 display_manager = load_config (display_manager )
104104 if not display_manager :
105- err ("Failed to load: " + display_manager )
105+ print ("Failed to load: " + display_manager )
106106 elif "check_this_dir" in display_manager and os .path .exists (display_manager ["check_this_dir" ]):
107107 break
108108else :
0 commit comments