~ubuntuone-control-tower/software-center/trunk

« back to all changes in this revision

Viewing changes to softwarecenter/region.py

* lp:~mvo/software-center/region-whitelist-lp1006570:
  - fix missing region whitelist support that is used by
    the software-center-agent (LP: #1006570) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
# blacklist this region
40
40
REGION_BLACKLIST_TAG = "blacklist-iso3166::"
 
41
# or whitelist it
 
42
REGION_WHITELIST_TAG = "whitelist-iso3166::"
41
43
 
42
44
 
43
45
def get_region_name(countrycode):