Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: filters/countries_length.py

Issue 29347257: Issue 3997 - Wrong information about employees on Eyeo.com (Closed)
Patch Set: Changed approach to check against non_countries list instead of hard coded non_countries inside cou… Created Oct. 10, 2016, 8:25 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | includes/jobs/why.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1
2 non_countries = ["earth"];
3
4 def countries_length(people):
5 return len(({flag for _, flag, _, _, _, _ in people if flag not in non_count ries}))
OLDNEW
« no previous file with comments | « no previous file | includes/jobs/why.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld