Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

findspam.py: watch_ns_for_url_domain #2094

Merged
merged 2 commits into from May 7, 2018

Conversation

tripleee
Copy link
Member

Refactor bad_ns_for_url_domain to an anlysis function ns_for_url_domain
and two caller functions which call it with different lists of nameservers

@tripleee tripleee force-pushed the watch-ns branch 2 times, most recently from 4a669f0 to 9a4dd64 Compare April 25, 2018 10:44
findspam.py Outdated
def watched_ns_for_url_domain(s, site, *args):
return ns_for_url_domain(s, site, [
# Don't forget the trailing dot on the resolved name here either!
{'pablo.ns.cloudflare.com', 'pola.ns.cloudflare.com.'},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgot the .?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooh, good one, thanks!

@coveralls
Copy link

coveralls commented Apr 25, 2018

Coverage Status

Coverage increased (+0.4%) to 65.469% when pulling 585cd31 on tripleee:watch-ns into 73d854c on Charcoal-SE:master.

Refactor bad_ns_for_url_domain to an analysis function ns_for_url_domain
and two caller functions which call it with different lists of nameservers
@tripleee
Copy link
Member Author

Rebased to squish typo fixes etc into one commit; sorry for the noise.

@tripleee tripleee requested a review from ArtOfCode- May 4, 2018 05:38
@ArtOfCode-
Copy link
Member

Subtle poke? ;) I'll have a look later on.

@ArtOfCode- ArtOfCode- merged commit 673ae7e into Charcoal-SE:master May 7, 2018
@tripleee tripleee deleted the watch-ns branch April 6, 2020 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants