mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-13 20:01:48 +01:00
Fixed PEP 8: E501 line too long
This commit is contained in:
parent
c5f338a313
commit
998d45cd1f
1 changed files with 4 additions and 2 deletions
|
@ -37,7 +37,8 @@ class Ascii:
|
|||
|
||||
def checksum_error_box(self, name, checksum, file_check):
|
||||
""" Drawing checksum error box. """
|
||||
print('\n' + self.bred + self.upper_left_corner + self.horizontal_line * (self.columns - 2) + self.upper_right_corner)
|
||||
print('\n' + self.bred + self.upper_left_corner + self.horizontal_line * (self.columns - 2) +
|
||||
self.upper_right_corner)
|
||||
print(f"{self.bred}{self.vertical_line}{self.bred} Error:{self.endc} MD5SUM check for "
|
||||
f"'{self.cyan}{name}'{self.red} FAILED!" + ' ' * (self.columns - (len(name)) - 37) + self.vertical_line)
|
||||
print(self.bred + self.vertical_and_right + self.horizontal_line * (self.columns - 2) + self.vertical_and_left)
|
||||
|
@ -45,4 +46,5 @@ class Ascii:
|
|||
+ ' ' * (self.columns - (len(checksum)) - 13) + self.vertical_line)
|
||||
print(f'{self.bred}{self.vertical_line}{self.violet} Found:{self.endc} {file_check}{self.bred}'
|
||||
+ ' ' * (self.columns - (len(file_check)) - 10) + self.vertical_line)
|
||||
print(self.bred + self.lower_left_corner + self.horizontal_line * (self.columns - 2) + self.lower_right_corner + self.endc)
|
||||
print(self.bred + self.lower_left_corner + self.horizontal_line * (self.columns - 2) +
|
||||
self.lower_right_corner + self.endc)
|
||||
|
|
Loading…
Reference in a new issue