Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

remove comment

Vostretsov Nikita2b4bcfaf4940
diff --git a/scrapy/core/scheduler.py b/scrapy/core/scheduler.py
index c385fafe1..9d0258db2 100644
--- a/scrapy/core/scheduler.py
+++ b/scrapy/core/scheduler.py
@@ -57,7 +57,6 @@ class Scheduler(object):
dupefilter = create_instance(dupefilter_cls, settings, crawler)
pqclass = load_object(settings['SCHEDULER_PRIORITY_QUEUE'])
if pqclass is PriorityQueue:
- # backwards compatibility
warnings.warn("SCHEDULER_PRIORITY_QUEUE='queuelib.PriorityQueue'"
" is no longer supported because of API changes; "
"please use 'scrapy.pqueues.ScrapyPriorityQueue'",