mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-28 19:58:18 +01:00
Update doc strings
This commit is contained in:
parent
f017d58e06
commit
31aa1e7076
1 changed files with 4 additions and 3 deletions
|
@ -42,9 +42,8 @@ class Download(object):
|
||||||
self.downder_options = self.meta.downder_options
|
self.downder_options = self.meta.downder_options
|
||||||
|
|
||||||
def start(self):
|
def start(self):
|
||||||
"""
|
"""Download files using wget or other downloader.
|
||||||
Download files usign wget.
|
Optional curl and aria2c"""
|
||||||
"""
|
|
||||||
dwn_count = 1
|
dwn_count = 1
|
||||||
self._directory_prefix()
|
self._directory_prefix()
|
||||||
print self.downder, self.downder_options, self.dir_prefix
|
print self.downder, self.downder_options, self.dir_prefix
|
||||||
|
@ -72,6 +71,8 @@ class Download(object):
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
def _directory_prefix(self):
|
def _directory_prefix(self):
|
||||||
|
"""Downloader options for specific directory
|
||||||
|
"""
|
||||||
if self.downder == "wget":
|
if self.downder == "wget":
|
||||||
self.dir_prefix = "--directory-prefix="
|
self.dir_prefix = "--directory-prefix="
|
||||||
elif self.downder == "aria2c":
|
elif self.downder == "aria2c":
|
||||||
|
|
Loading…
Add table
Reference in a new issue