Skip to content

Commit d4bb831

Browse files
committed
Reformated some code for readability.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent e364f9c commit d4bb831

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/_ext/djangodocs.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -234,12 +234,12 @@ def finish(self):
234234
return
235235
self.info(bold("writing templatebuiltins.js..."))
236236
xrefs = self.env.domaindata["std"]["objects"]
237-
templatebuiltins = dict([('ttags', [n for ((t,n), (l,a)) in xrefs.items()
238-
if t == 'templatetag' and
239-
l == 'ref/templates/builtins' ]),
240-
('tfilters', [n for ((t,n), (l,a)) in xrefs.items()
241-
if t == 'templatefilter' and
242-
t == 'ref/templates/builtins'])])
237+
templatebuiltins = {
238+
"ttags": [n for ((t, n), (l, a)) in xrefs.items()
239+
if t == "templatetag" and l == "ref/templates/builtins"],
240+
"tfilters": [n for ((t, n), (l, a)) in xrefs.items()
241+
if t == "templatefilter" and l == "ref/templates/builtins"],
242+
}
243243
outfilename = os.path.join(self.outdir, "templatebuiltins.js")
244244
f = open(outfilename, 'wb')
245245
f.write('var django_template_builtins = ')

0 commit comments

Comments
 (0)