Fixed PEP E501

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2022-05-01 12:09:32 +03:00
parent c431843334
commit 5f720dc082

View file

@ -403,10 +403,13 @@ class Initialization(Utils):
if arch == "x86_64":
ar = "64"
version = self.meta.slacke_sub_repo[1:-1]
PACKAGES_TXT = f"{repo}slacke{version}/slackware{ar}-{slack_ver()}/{lib_file}"
PACKAGES_TXT = (f"{repo}slacke{version}/slackware{ar}-"
f"{slack_ver()}/{lib_file}")
FILELIST_TXT = ""
CHECKSUMS_MD5 = f"{repo}slacke{version}/slackware{ar}-{slack_ver()}/{md5_file}"
ChangeLog_txt = f"{repo}slacke{version}/slackware{ar}-{slack_ver()}/{log_file}"
CHECKSUMS_MD5 = (f"{repo}slacke{version}/slackware{ar}-"
f"{slack_ver()}/{md5_file}")
ChangeLog_txt = (f"{repo}slacke{version}/slackware{ar}-"
f"{slack_ver()}/{log_file}")
if self.check:
return self.checks_logs(log, ChangeLog_txt)
self.down(lib, PACKAGES_TXT, repo_name)
@ -767,7 +770,9 @@ class Update:
for repo in enabled:
if check_for_local_repos(repo) is True:
continue
print(f"{self.grey}Check repository [{self.cyan}{repo}{self.grey}] ... {self.endc}", end="", flush=True)
print(f"{self.grey}Check repository "
f"[{self.cyan}{repo}{self.grey}] ... "
f"{self.endc}", end="", flush=True)
if repo in default:
getattr(Initialization(False), repo)()
print(self.done, end="")