mirror of https://github.com/scrapy/scrapy.git
Merge pull request #2909 from cclauss/patch-2
ur'string' not needed in Py 2, syntax error in Py3
This commit is contained in:
commit
6213fa5175
|
|
@ -191,7 +191,7 @@ htmlhelp_basename = 'Scrapydoc'
|
|||
# Grouping the document tree into LaTeX files. List of tuples
|
||||
# (source start file, target name, title, author, document class [howto/manual]).
|
||||
latex_documents = [
|
||||
('index', 'Scrapy.tex', ur'Scrapy Documentation',
|
||||
('index', 'Scrapy.tex', u'Scrapy Documentation',
|
||||
ur'Scrapy developers', 'manual'),
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ _filename = None
|
|||
_contents = None
|
||||
|
||||
# A regex that matches standard linkcheck output lines
|
||||
line_re = re.compile(ur'(.*)\:\d+\:\s\[(.*)\]\s(?:(.*)\sto\s(.*)|(.*))')
|
||||
line_re = re.compile(u'(.*)\:\d+\:\s\[(.*)\]\s(?:(.*)\sto\s(.*)|(.*))')
|
||||
|
||||
# Read lines from the linkcheck output file
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in New Issue