From 0d2bc8856500807bd4f610a08ec5752958359629 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Tue, 26 Apr 2022 16:44:47 +0300 Subject: [PATCH] Fixed E501 PEP error Signed-off-by: Dimitris Zlatanidis --- slpkg/auto_pkg.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/slpkg/auto_pkg.py b/slpkg/auto_pkg.py index dbbcb9e7..cf2c884a 100644 --- a/slpkg/auto_pkg.py +++ b/slpkg/auto_pkg.py @@ -55,7 +55,8 @@ class Auto: print("| Choose a Slackware command:") self.msg.template(78) for com in sorted(self.commands): - print(f"| {self.red}{com}{self.endc}) {self.green}{self.commands[com]}{self.endc}") + print(f"| {self.red}{com}{self.endc}) {self.green}" + f"{self.commands[com]}{self.endc}") self.msg.template(78) try: self.choice = input(" > ") @@ -63,7 +64,8 @@ class Auto: print() raise SystemExit() if self.choice in self.commands.keys(): - print(f" \x1b[1A{self.cyan}{self.commands[self.choice]}{self.endc}", end="\n\n") + print(f" \x1b[1A{self.cyan}{self.commands[self.choice]}" + f"{self.endc}", end="\n\n") print(end="", flush=True) self.execute()