################################################################################
def binary_scan_all(cnf, limit):
- Logger = daklog.Logger(cnf.Cnf, 'contents binary_scan')
+ Logger = daklog.Logger(cnf.Cnf, 'contents scan-binary')
result = BinaryContentsScanner.scan_all(limit)
processed = '%(processed)d packages processed' % result
remaining = '%(remaining)d packages remaining' % result
################################################################################
def source_scan_all(cnf, limit):
- Logger = daklog.Logger(cnf.Cnf, 'contents source_scan')
+ Logger = daklog.Logger(cnf.Cnf, 'contents scan-source')
result = SourceContentsScanner.scan_all(limit)
processed = '%(processed)d packages processed' % result
remaining = '%(remaining)d packages remaining' % result
'''
This function runs in a subprocess.
'''
- scanner = SourceContentsScanner(source_id)
- scanner.scan()
+ try:
+ scanner = SourceContentsScanner(source_id)
+ scanner.scan()
+ except Exception, e:
+ print e