removed obsolete scrapy.utils.db module

This commit is contained in:
Pablo Hoffman 2009-09-04 17:38:14 -03:00
parent 7466150286
commit 827aa19c6e
3 changed files with 1 additions and 19 deletions

View File

@ -693,18 +693,6 @@ Scope: ``scrapy.contrib.memusage``
The maximum amount of memory to allow (in megabytes) before sending a warning
email notifying about it. If zero, no warning will be produced.
.. setting:: MYSQL_CONNECTION_SETTINGS
MYSQL_CONNECTION_SETTINGS
-------------------------
Default: ``{}``
Scope: ``scrapy.utils.db.mysql_connect``
Settings to use for MySQL connections performed through
``scrapy.utils.db.mysql_connect``
.. setting:: NEWSPIDER_MODULE
NEWSPIDER_MODULE

View File

@ -6,7 +6,7 @@ import cPickle as pickle
from datetime import datetime
from scrapy.stats.collector import StatsCollector
from scrapy.utils.db import mysql_connect
from scrapy.utils.mysql import mysql_connect
from scrapy.conf import settings
class MysqlStatsCollector(StatsCollector):

View File

@ -1,6 +0,0 @@
import warnings
from scrapy.utils.mysql import *
warnings.warn("scrapy.utils.db module is depreacted, use scrapy.utils.mysql instead",
DeprecationWarning, stacklevel=2)