mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-05 11:02:14 +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:
|
||||
SlackBuild = URL(f"{self.sbo_url}{self.pkg}.SlackBuild").reading()
|
||||
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():
|
||||
line = line.lstrip()
|
||||
if line.startswith("BUILD="):
|
||||
|
|
Loading…
Reference in a new issue