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

Module btcompletedir

source code

Make a metainfo (.dtorrent) file for every file in a directory.

Creates a new metainfo file for every file in a given directory.

Functions [hide private]
 
prog(amount)
Display the current status of the file scan.
source code
 
next_file(file)
Print the name of the file being scanned.
source code
Variables [hide private]
  logger = logging.getLogger()

Imports: DebTorrent.PSYCO, psyco, sys.argv, sys.version_info, sys.exit, os.path.split, DebTorrent.BT1.makemetafile.defaults, DebTorrent.BT1.makemetafile.completedir, DebTorrent.BT1.makemetafile.print_announcelist_details, DebTorrent.parseargs.parseargs, DebTorrent.parseargs.formatDefinitions, logging


Function Details [hide private]

prog(amount)

source code 
Display the current status of the file scan.
Parameters:
  • amount (int) - the number of packages that have been found so far in the current file

next_file(file)

source code 
Print the name of the file being scanned.
Parameters:
  • file (string) - the file name