From 9b3b6cd489f27275313ea5f157dc392e72109119 Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez <baptiste.jonglez@inria.fr> Date: Tue, 24 May 2022 10:57:43 +0200 Subject: [PATCH] Fix pep8 warnings --- grid5000/cli.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/grid5000/cli.py b/grid5000/cli.py index c297f69..0621f58 100644 --- a/grid5000/cli.py +++ b/grid5000/cli.py @@ -29,6 +29,7 @@ MOTD_END = """\ """ + def main(): path = pathlib.Path(CONF_PATH) motd = MOTD @@ -37,9 +38,11 @@ def main(): motd += "* Configuration loaded from %s\n" % CONF_PATH else: gk = Grid5000() - motd += "* Warning: configuration file %s is missing, authentication might not work\n" % CONF_PATH + motd += "* Warning: configuration file %s is missing, " % CONF_PATH + motd += "authentication might not work\n" if gk.username: - motd += "* A new client (variable gk) has been created for the user %s\n" % gk.username + motd += "* A new client (variable gk) has been created " + motd += "for user %s\n" % gk.username else: motd += "* A new client (variable gk) has been created\n" motd += MOTD_END -- GitLab