mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-08 17:24:18 +01:00
Fixed PEP E501
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
09cd73e2ad
commit
71f547e60d
1 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,8 @@ class BuildNumber(Utils):
|
||||||
if self.sbo_url:
|
if self.sbo_url:
|
||||||
SlackBuild = URL(f"{self.sbo_url}{self.pkg}.SlackBuild").reading()
|
SlackBuild = URL(f"{self.sbo_url}{self.pkg}.SlackBuild").reading()
|
||||||
else:
|
else:
|
||||||
SlackBuild = self.read_file(f"{self.meta.build_path}{self.pkg}/{self.pkg}.SlackBuild")
|
SlackBuild = self.read_file(f"{self.meta.build_path}{self.pkg}/"
|
||||||
|
f"{self.pkg}.SlackBuild")
|
||||||
for line in SlackBuild.splitlines():
|
for line in SlackBuild.splitlines():
|
||||||
line = line.lstrip()
|
line = line.lstrip()
|
||||||
if line.startswith("BUILD="):
|
if line.startswith("BUILD="):
|
||||||
|
|
Loading…
Reference in a new issue