Removing unnecessary "or None".
This commit is contained in:
parent
39ca4c619b
commit
8d3783825a
|
@ -16,7 +16,7 @@ class Page( Html ):
|
||||||
Head(
|
Head(
|
||||||
Link( rel = u"stylesheet", type = u"text/css", href = u"/static/css/style.css" ),
|
Link( rel = u"stylesheet", type = u"text/css", href = u"/static/css/style.css" ),
|
||||||
Meta( content = u"text/html; charset=UTF-8", http_equiv = u"content-type" ),
|
Meta( content = u"text/html; charset=UTF-8", http_equiv = u"content-type" ),
|
||||||
Script( type = u"text/javascript", src = u"https://ssl.google-analytics.com/urchin.js" ) or None,
|
Script( type = u"text/javascript", src = u"https://ssl.google-analytics.com/urchin.js" ),
|
||||||
[ child for child in children if isinstance( child, head_types ) ],
|
[ child for child in children if isinstance( child, head_types ) ],
|
||||||
Title( title and u"%s: %s" % ( app_name, title ) or app_name ),
|
Title( title and u"%s: %s" % ( app_name, title ) or app_name ),
|
||||||
"""<!--[if IE 6]><link href="/static/css/ie6.css" type="text/css" rel="stylesheet"></link><![endif]-->""",
|
"""<!--[if IE 6]><link href="/static/css/ie6.css" type="text/css" rel="stylesheet"></link><![endif]-->""",
|
||||||
|
|
Reference in New Issue