File: stats.py

package info (click to toggle)
python-scrapy 1.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,308 kB
  • sloc: python: 25,583; xml: 199; makefile: 95; sh: 33
file content (8 lines) | stat: -rw-r--r-- 213 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8

"""
Obsolete module, kept for giving a meaningful error message when trying to
import.
"""

raise ImportError("scrapy.stats usage has become obsolete, use "
                  "`crawler.stats` attribute instead")