diff bitsyblog/utils.py @ 5:794dac65c9b6

comment about how brittle the CSS validation is
author k0s <k0scist@gmail.com>
date Mon, 05 Oct 2009 09:06:10 -0400
parents e3823be6a423
children c228832db770
line wrap: on
line diff
--- a/bitsyblog/utils.py	Mon Oct 05 09:05:23 2009 -0400
+++ b/bitsyblog/utils.py	Mon Oct 05 09:06:10 2009 -0400
@@ -15,7 +15,7 @@
     url = url % urllib.quote_plus(css)
     foo = urllib2.urlopen(url)
     text = foo.read()
-    return not 'We found the following errors' in text
+    return not 'We found the following errors' in text # XXX hacky
 
 def date(datestamp):
     datestamp = os.path.split(datestamp)[-1]