chore: Remove debug prints and early loop exit
This commit is contained in:
parent
5f866fbeb0
commit
58970bc8ef
|
@ -9,23 +9,12 @@ def modify_feed(context, feed):
|
|||
articles = {}
|
||||
pprint.pprint(context)
|
||||
|
||||
print()
|
||||
print('---------------------------------------')
|
||||
print()
|
||||
for article in context['articles']:
|
||||
articles[article.title] = article
|
||||
|
||||
if 'articles' in context:
|
||||
for article in context['articles']:
|
||||
articles[article.title] = article
|
||||
pprint.pprint(article.__dict__)
|
||||
break
|
||||
for item in feed.items:
|
||||
pass
|
||||
|
||||
print()
|
||||
print('---------------------------------------')
|
||||
print()
|
||||
|
||||
for i in feed.items:
|
||||
pprint.pprint(i)
|
||||
break
|
||||
|
||||
def register():
|
||||
signals.feed_generated.connect(modify_feed)
|
||||
|
|
Loading…
Reference in New Issue
Block a user