David пре 9 година
родитељ
комит
a51b64e3ca
1 измењених фајлова са 0 додато и 4 уклоњено
  1. 0 4
      parser.py

+ 0 - 4
parser.py

@@ -108,14 +108,10 @@ post_data('event', {}, '"start"')
 start = time()
 print("init db")
 d = db()
-print("init sources")
 sources = d.sources()
-print("cnt error")
 post_data('value', {'type': 'error'}, d.count_error())
-post_data('event', {}, '"purge_error_finish"')
 d.purge_error()
 
-post_data('event', {}, '"purge_error_finish"')
 pool = Pool(processes=4)
 ret = pool.map(parseSource, sources)
 new = sum([r[3] for r in ret])