htmlfile = os.path.join(cnf['Show-New::HTMLPath'], htmlname)
# Have we already processed this?
- if False and os.path.exists(htmlfile) and \
+ if os.path.exists(htmlfile) and \
os.stat(htmlfile).st_mtime > time.mktime(changes.created.timetuple()):
with open(htmlfile, "r") as fd:
if fd.read() != timeout_str:
################################################################################
def main():
+ pool = DakProcessPool(processes=5)
+
session = DBConn().session()
upload_ids = [ u.id for u in init(session) ]
session.close()
examine_package.use_html=1
- pool = DakProcessPool(processes=5)
p = pool.map_async(do_pkg, upload_ids)
pool.close()