Kaynağa Gözat

remove extra debug

David 9 yıl önce
ebeveyn
işleme
a51b64e3ca
1 değiştirilmiş dosya ile 0 ekleme ve 4 silme
  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])