Only deactivating feed exceptions. Turning page exceptions back on, since they can now be handled in the UI.

This commit is contained in:
Samuel Clay 2010-10-29 11:45:00 -04:00
parent ebacf13670
commit f5e36c5b8e

View file

@ -169,9 +169,9 @@ class Feed(models.Model):
if len(non_errors) == 0 and len(errors) >= 1:
if exception_type == 'feed':
self.has_feed_exception = True
self.active = False
elif exception_type == 'page':
self.has_page_exception = True
self.active = False
self.exception_code = status_code
self.save()
elif self.exception_code > 0: