witten
/
luminotes
Archived
1
0
Fork 0

Removing unnecessary "or None".

This commit is contained in:
Dan Helfman 2008-06-02 16:39:24 -07:00
parent 39ca4c619b
commit 8d3783825a
1 changed files with 1 additions and 1 deletions

View File

@ -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]-->""",