We want examine_package.use_html to be set everywhere. So we have to
change it before we create the worker pool.
This was broken by
24cb4fe2729e5805e8a9d81149dce947787ee20d where the
worker pool was setup earlier.
################################################################################
def main():
+ examine_package.use_html = True
pool = DakProcessPool(processes=5)
session = DBConn().session()
upload_ids = [ u.id for u in init(session) ]
session.close()
- examine_package.use_html=1
-
p = pool.map_async(do_pkg, upload_ids)
pool.close()