Module btcopyannounce
[hide private]
[frames] | no frames]

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.

Functions [hide private]
string
give_announce_list(l)
Converts an announce list into human-readable output.
source code
Variables [hide private]
  h = open(argv [1], 'rb')
  source_metainfo = bdecode(h.read())

Imports: sys.argv, sys.exit, os.path.split, DebTorrent.bencode.bencode, DebTorrent.bencode.bdecode


Function Details [hide private]

give_announce_list(l)

source code 
Converts an announce list into human-readable output.
Parameters:
  • l (list) - the announce list to convert
Returns: string
the human-readbale announce list