Module btcopyannounce
source code
Copy the announce information from one metainfo file to others.
Copies all the announce information from an input metainfo file, and
makes all the other metainfo files match it.
|
|
h = open(argv [1], 'rb')
|
|
|
source_metainfo = bdecode(h.read())
|
Imports:
sys.argv,
sys.exit,
os.path.split,
DebTorrent.bencode.bencode,
DebTorrent.bencode.bdecode
Converts an announce list into human-readable output.
- Parameters:
l (list) - the announce list to convert
- Returns:
string
- the human-readbale announce list
|