Disallow string based feeds in recipes

This commit is contained in:
Kovid Goyal 2018-03-07 10:45:07 +05:30
parent 19a738a7b8
commit b3c1ba969c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -889,11 +889,6 @@ class BasicNewsRecipe(Recipe):
self.verbose = True
self.report_progress = progress_reporter
if isinstance(self.feeds, basestring):
self.feeds = eval(self.feeds)
if isinstance(self.feeds, basestring):
self.feeds = [self.feeds]
if self.needs_subscription and (
self.username is None or self.password is None or
(not self.username and not self.password)):