mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Fixed PEP E501
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
102e5c1013
commit
d8f1b6701b
1 changed files with 11 additions and 6 deletions
|
@ -56,9 +56,11 @@ class Msg:
|
|||
"""Print error message if build failed
|
||||
"""
|
||||
self.template(78)
|
||||
print(f"| Some error on the package {prgnam} [ {self.red}FAILED{self.endc} ]")
|
||||
print(f"| Some error on the package {prgnam} "
|
||||
f"[ {self.red}FAILED{self.endc} ]")
|
||||
self.template(78)
|
||||
print(f"| See the log file in '{self.cyan}/var/log/slpkg/sbo/build_logs{self.endc}' "
|
||||
print(f"| See the log file in '{self.cyan}"
|
||||
f"/var/log/slpkg/sbo/build_logs{self.endc}' "
|
||||
f"directory or read the README file")
|
||||
self.template(78)
|
||||
print() # new line at end
|
||||
|
@ -76,12 +78,14 @@ class Msg:
|
|||
def reading(self):
|
||||
"""Message reading
|
||||
"""
|
||||
print(f"{self.grey}Reading package lists...{self.endc} ", end="", flush=True)
|
||||
print(f"{self.grey}Reading package lists...{self.endc} ",
|
||||
end="", flush=True)
|
||||
|
||||
def resolving(self):
|
||||
"""Message resolving
|
||||
"""
|
||||
print(f"{self.grey}Resolving dependencies...{self.endc} ", end="", flush=True)
|
||||
print(f"{self.grey}Resolving dependencies...{self.endc} ",
|
||||
end="", flush=True)
|
||||
|
||||
def done(self):
|
||||
"""Message done
|
||||
|
@ -157,5 +161,6 @@ class Msg:
|
|||
def matching(self, packages):
|
||||
"""Message for matching packages
|
||||
"""
|
||||
print(f"\nNot found package with the name [ {self.cyan}{''.join(packages)}{self.endc} ]. "
|
||||
"Matching packages:\nNOTE: Not dependencies are resolved\n")
|
||||
print(f"\nNot found package with the name "
|
||||
f"[ {self.cyan}{''.join(packages)}{self.endc} ]. "
|
||||
"Matching packages:\nNOTE: Not dependencies are resolved\n")
|
||||
|
|
Loading…
Add table
Reference in a new issue