GitHubのミラーです
https://github.com/FascodeNet/alterlinux-calamares
Revision | 96c89fc08011a8f4532e60989efb784624626529 (tree) |
---|---|
Zeit | 2021-09-28 04:04:26 |
Autor | Adriaan de Groot <groot@kde....> |
Commiter | Adriaan de Groot |
[displaymanager] Fix Python errors
Apparently nobody ever hit the else-branch here (because
each DM has exactly one implementation -- that's what the
check is there for!) because the logging of the error
itself would raise IndexError or ValueError.
@@ -198,7 +198,7 @@ desktop_environments = [ | ||
198 | 198 | DesktopEnvironment('/usr/bin/fvwm3', 'fvwm3'), |
199 | 199 | DesktopEnvironment('/usr/bin/sway', 'sway'), |
200 | 200 | DesktopEnvironment('/usr/bin/ukui-session', 'ukui'), |
201 | - DesktopEnvironment('/usr/bin/cutefish-session', 'cutefish-xsession'), | |
201 | + DesktopEnvironment('/usr/bin/cutefish-session', 'cutefish-xsession'), | |
202 | 202 | ] |
203 | 203 | |
204 | 204 |
@@ -923,7 +923,7 @@ def run(): | ||
923 | 923 | else: |
924 | 924 | dm_instance = None |
925 | 925 | else: |
926 | - libcalamares.utils.debug("{!s} has {!d} implementation classes.".format(dm).format(len(impl))) | |
926 | + libcalamares.utils.debug("{!s} has {!s} implementation classes.".format(dm, len(impl))) | |
927 | 927 | |
928 | 928 | if dm_instance is None: |
929 | 929 | libcalamares.utils.debug("{!s} selected but not installed".format(dm)) |