GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Commit f3aff5a7 authored by Hiro's avatar Hiro 🏄
Browse files

Remove logs and fix checks

parent 4515c62f
......@@ -152,13 +152,7 @@ class EmailParser(object):
def too_many_requests(self, hid, num_requests, limit):
test_hid = self.settings.get('test_hid')
log.msg(
"test_hid {}".format(test_hid), system="email parser"
)
log.msg(
"hid {}".format(hid), system="email parser"
)
test_hid = self.settings.get("test_hid")
if hid == test_hid:
return False
elif num_requests < limit:
......@@ -251,8 +245,6 @@ class EmailParser(object):
hid, num_requests[0][0], email_requests_limit
)
log.msg("check: {}".format(check), system="email parser")
if check:
log.msg(
"Discarded. Too many requests from {}.".format(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment