mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-16 03:41:11 +01:00
Fixed PEP E501
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
c431843334
commit
5f720dc082
1 changed files with 9 additions and 4 deletions
|
@ -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="")
|
||||
|
|
Loading…
Reference in a new issue