Skip to content

Commit

Permalink
thats what I meant to do
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy McKay committed Sep 18, 2013
1 parent 0795f6d commit c840efb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mkt/webapps/models.py
Expand Up @@ -571,10 +571,8 @@ def get_region_ids(self, worldwide=False, excluded=None):
if excluded is None:
excluded = list(self.addonexcludedregion
.values_list('region', flat=True))
else:
excluded = []

return sorted(set(all_ids) - set(excluded))
return sorted(set(all_ids) - set(excluded or []))

def get_excluded_region_ids(self):
"""
Expand Down

0 comments on commit c840efb

Please sign in to comment.