Browse Source

Removed a u'' prefix that prevented the docs from building on Python 3.2.

Tim Graham 11 years ago
parent
commit
b63acdfe71
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/_ext/djangodocs.py

+ 1 - 1
docs/_ext/djangodocs.py

@@ -179,7 +179,7 @@ class SnippetWithFilename(Directive):
     option_spec = {'filename': directives.unchanged_required}
 
     def run(self):
-        code = u'\n'.join(self.content)
+        code = '\n'.join(self.content)
 
         literal = snippet_with_filename(code, code)
         if self.arguments: