mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-28 19:58:18 +01:00
Fixed E501 PEP error
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
fd6ce3d865
commit
0d2bc88565
1 changed files with 4 additions and 2 deletions
|
@ -55,7 +55,8 @@ class Auto:
|
||||||
print("| Choose a Slackware command:")
|
print("| Choose a Slackware command:")
|
||||||
self.msg.template(78)
|
self.msg.template(78)
|
||||||
for com in sorted(self.commands):
|
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)
|
self.msg.template(78)
|
||||||
try:
|
try:
|
||||||
self.choice = input(" > ")
|
self.choice = input(" > ")
|
||||||
|
@ -63,7 +64,8 @@ class Auto:
|
||||||
print()
|
print()
|
||||||
raise SystemExit()
|
raise SystemExit()
|
||||||
if self.choice in self.commands.keys():
|
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)
|
print(end="", flush=True)
|
||||||
self.execute()
|
self.execute()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue