| Index: sitescripts/subscriptions/subscriptionParser.py |
| =================================================================== |
| --- a/sitescripts/subscriptions/subscriptionParser.py |
| +++ b/sitescripts/subscriptions/subscriptionParser.py |
| @@ -195,17 +195,18 @@ |
| if self._data[key] != None: |
| found = True |
| if not found: |
| str = ', '.join(group) |
| warn('None of the attributes %s present in %s' % (str, path)) |
| if len(self.variants) == 0: |
| warn('No list locations given in %s' % path) |
| - if self.type not in ('ads', 'anti-adblock', 'other', 'malware', 'social', 'privacy'): |
| + if self.type not in ('ads', 'anti-adblock', 'circumvention', 'other', |
| + 'malware', 'social', 'privacy'): |
| warn('Unknown type given in %s' % path) |
| if self.digest != 'daily' and self.digest != 'weekly': |
| warn('Unknown digest frequency given in %s' % path) |
| if not self.digestDay[0:3].lower() in weekdays: |
| warn('Unknown digest day given in %s' % path) |
| self.digestDay = 'wed' |
| self.digestDay = weekdays[self.digestDay[0:3].lower()] |
| if self.recommendation is not None and self.type == 'ads' and not (self.languages and self.languages.strip()): |