This commit is contained in:
Darko Poljak 2017-07-25 12:43:54 +02:00
parent d30b1a2f54
commit 7c7a98d083
2 changed files with 9 additions and 7 deletions

View file

@ -211,7 +211,9 @@ class Config(object):
log.trace(("Starting multiprocessing Pool for {} "
"parallel host operation".format(args.parallel)))
results = mp_pool_run(cls.onehost, process_args, jobs=args.parallel)
results = mp_pool_run(cls.onehost,
process_args,
jobs=args.parallel)
log.trace(("Multiprocessing for parallel host operation "
"finished"))
log.trace(("Multiprocessing for parallel host operation "

View file

@ -368,8 +368,8 @@ class InventoryTag(Inventory):
tag, host))
host_tags.add(tag)
elif self.action == "del":
self.log.debug("Deleting tag \'{}\' for host \'{}\'".format(
tag, host))
self.log.debug("Deleting tag \'{}\' for host "
"\'{}\'".format(tag, host))
if tag in host_tags:
host_tags.remove(tag)
self.log.trace("new host tags: {}".format(host_tags))