##// END OF EJS Templates
check-code: recommend util.urlreq when importing urlparse
Gregory Szorc -
r31572:c0c4e14e default
parent child Browse files
Show More
@@ -330,7 +330,7 b' pypats = ['
330 330 (r'^import cStringIO', "don't use cStringIO.StringIO, use util.stringio"),
331 331 (r'^import urllib', "don't use urllib, use util.urlreq/util.urlerr"),
332 332 (r'^import SocketServer', "don't use SockerServer, use util.socketserver"),
333 (r'^import urlparse', "don't use urlparse, use util.urlparse"),
333 (r'^import urlparse', "don't use urlparse, use util.urlreq"),
334 334 (r'^import xmlrpclib', "don't use xmlrpclib, use util.xmlrpclib"),
335 335 (r'^import cPickle', "don't use cPickle, use util.pickle"),
336 336 (r'^import pickle', "don't use pickle, use util.pickle"),
General Comments 0
You need to be logged in to leave comments. Login now