mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Updated for code style
This commit is contained in:
parent
5b4037c6b2
commit
d4aa87ccd4
1 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ class Downloader(Configs, Utilities):
|
|||
|
||||
if self.ponce_repo and 'ponce' in self.url:
|
||||
# Download files from a directory.
|
||||
self.output = subprocess.call(f"lftp {self.lftp_mirror_options} {self.url} {self.path}",
|
||||
self.output = subprocess.call(f'lftp {self.lftp_mirror_options} {self.url} {self.path}',
|
||||
shell=True, stderr=self.stderr, stdout=self.stdout)
|
||||
# Create /path/name.Slackbuild
|
||||
slackbuild = Path(self.path, f'{str(self.path).split("/")[-1]}.SlackBuild')
|
||||
|
@ -72,7 +72,7 @@ class Downloader(Configs, Utilities):
|
|||
os.chmod(slackbuild, 0o775)
|
||||
else:
|
||||
# Download binaries files and the sources.
|
||||
self.output = subprocess.call(f"lftp {self.lftp_get_options} {self.url} -o {self.path}",
|
||||
self.output = subprocess.call(f'lftp {self.lftp_get_options} {self.url} -o {self.path}',
|
||||
shell=True, stderr=self.stderr, stdout=self.stdout)
|
||||
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue