changeset 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 60cfc4b825f0
children 3198742f7a86
files bitsyblog/utils.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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]