mirror of
https://github.com/django/django.git
synced 2024-12-23 09:36:06 +00:00
Removed a u'' prefix that prevented the docs from building on Python 3.2.
This commit is contained in:
parent
362dd68fb2
commit
b63acdfe71
@ -179,7 +179,7 @@ class SnippetWithFilename(Directive):
|
|||||||
option_spec = {'filename': directives.unchanged_required}
|
option_spec = {'filename': directives.unchanged_required}
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
code = u'\n'.join(self.content)
|
code = '\n'.join(self.content)
|
||||||
|
|
||||||
literal = snippet_with_filename(code, code)
|
literal = snippet_with_filename(code, code)
|
||||||
if self.arguments:
|
if self.arguments:
|
||||||
|
Loading…
Reference in New Issue
Block a user