Merge lp:~facundo/ubuntu-rest-scopes/7digital-several-forbidden-again into lp:ubuntu-rest-scopes

Proposed by Facundo Batista
Status: Merged
Approved by: Facundo Batista
Approved revision: 531
Merged at revision: 531
Proposed branch: lp:~facundo/ubuntu-rest-scopes/7digital-several-forbidden-again
Merge into: lp:ubuntu-rest-scopes
Diff against target: 39 lines (+28/-1)
1 file modified
src/scopes/sevendigital.py (+28/-1)
To merge this branch: bzr merge lp:~facundo/ubuntu-rest-scopes/7digital-several-forbidden-again
Reviewer Review Type Date Requested Status
Roberto Alsina (community) Approve
Review via email: mp+301371@code.launchpad.net

Commit message

More countries to the forbidden list.

Description of the change

More countries to the forbidden list.

To post a comment you must log in.
Revision history for this message
Roberto Alsina (ralsina) wrote :

+1 thanks for making the list vertical so the next time I will have an idea which countries I am approving blockage of ;-)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/scopes/sevendigital.py'
2--- src/scopes/sevendigital.py 2016-06-07 14:01:21 +0000
3+++ src/scopes/sevendigital.py 2016-07-28 10:34:24 +0000
4@@ -90,7 +90,34 @@
5 TITLE_TRACKS = "Tracks"
6
7 # list of countries that we can not send to 7digital
8-UNAUTHORIZED_COUNTRIES = set("AE AR BR CO DK ID IL IS JP KR MX PH PL RO RU TH TR UY ZA".split())
9+UNAUTHORIZED_COUNTRIES = {
10+ 'AE',
11+ 'AR',
12+ 'BR',
13+ 'CL',
14+ 'CO',
15+ 'DK',
16+ 'GR',
17+ 'ID',
18+ 'IL',
19+ 'IS',
20+ 'JP',
21+ 'KR',
22+ 'KZ',
23+ 'MA',
24+ 'MX',
25+ 'PE',
26+ 'PH',
27+ 'PL',
28+ 'RO',
29+ 'RU',
30+ 'TH',
31+ 'TR',
32+ 'TW',
33+ 'UY',
34+ 'VN',
35+ 'ZA',
36+}
37 DEFAULT_COUNTRY = 'GB'
38
39 # the categories

Subscribers

People subscribed via source and target branches