Remvoing pdb.

This commit is contained in:
Samuel Clay 2014-05-15 13:05:37 -07:00
parent 58d2bfdd64
commit dc6f4d5419

View file

@ -1397,7 +1397,6 @@ class Feed(models.Model):
# More restrictive content distance, still no story match
if not story_in_system and content_ratio > .98:
if settings.DEBUG:
import pdb; pdb.set_trace()
logging.debug(" ---> Content difference - %s/%s (%s): %s" % (story.get('title'), existing_story.story_title, story_title_difference, content_ratio))
story_in_system = existing_story
story_has_changed = True
@ -1406,7 +1405,6 @@ class Feed(models.Model):
if story_in_system and not story_has_changed:
if story_content != existing_story_content:
if settings.DEBUG:
import pdb; pdb.set_trace()
logging.debug(" ---> Content difference - %s (%s)/%s (%s)" % (story.get('title'), len(story_content), existing_story.story_title, len(existing_story_content)))
story_has_changed = True
if story_link != existing_story.story_permalink: