mirror of https://github.com/tLDP/python-tldp
adjusting the reporting of discovered document counts
This commit is contained in:
parent
01756a16ec
commit
6227e7d8da
|
@ -456,8 +456,8 @@ def collectWorkset(config, args):
|
||||||
if not config.sourcedir:
|
if not config.sourcedir:
|
||||||
return None, ERR_NEEDSOURCEDIR + "for inventory"
|
return None, ERR_NEEDSOURCEDIR + "for inventory"
|
||||||
inv = Inventory(config.pubdir, config.sourcedir)
|
inv = Inventory(config.pubdir, config.sourcedir)
|
||||||
logger.info("Collected inventory containing %s documents.",
|
logger.info("Inventory contains %s source and %s output documents.",
|
||||||
len(inv.all.keys()))
|
len(inv.source.keys()), len(inv.output.keys()))
|
||||||
else:
|
else:
|
||||||
inv = None
|
inv = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue