[KSS-checkins] r49245 - kukit/kss.zope/trunk/kss/zope/concatresource

reebalazs at codespeak.net reebalazs at codespeak.net
Sat Dec 1 13:28:41 CET 2007


Author: reebalazs
Date: Sat Dec  1 13:28:40 2007
New Revision: 49245

Modified:
   kukit/kss.zope/trunk/kss/zope/concatresource/concatfileresource.py
Log:
add comment

Modified: kukit/kss.zope/trunk/kss/zope/concatresource/concatfileresource.py
==============================================================================
--- kukit/kss.zope/trunk/kss/zope/concatresource/concatfileresource.py	(original)
+++ kukit/kss.zope/trunk/kss/zope/concatresource/concatfileresource.py	Sat Dec  1 13:28:40 2007
@@ -59,6 +59,7 @@
         content_type =  'application/x-javascript'
         for subres in fileslist:
             d = subres.getContents()
+            # Sub resources must be of the same content type.
             assert d['content_type'] == content_type
             data.append(d['data'])
         # Do javascript compression on the result.


More information about the Kukit-checkins mailing list