__init__(self,
path,
data,
callback,
sched,
separate_all=0)
(Constructor)
| source code
|
Process a downloaded Packages file and start the torrent making
thread.
- Parameters:
path (list of string) - the path of the file to download, starting with the mirror
name
data (string) - the downloaded Packages file
callback (method) - the method to call with the torrent when it has been
created
sched (method) - the method to call to schedule future invocation of a
function
separate_all (boolean) - whether to separate the architecture:all packages into a
separate torrent (optional, defaults to False)
|