Commits

Jan-Jaap Driessen committed 7ec08f7

Auto generate comment.

Comments (0)

Files changed (1)

fanstatic/codegen.py

     # import on top
     result.append("from fanstatic import Library, Resource")
     result.append("")
+    result.append("# This code is auto-generated and not PEP8 compliant")
+    result.append("")
     # define libraries
     for library in libraries:
         result.append("%s = Library('%s', '%s')" %
                 [resource_to_name[i.key()] for i in resource.supersedes])
             s += supersedes_s
         if resource.cdns:
-            s += ', cdns={%s}' % ', '.join(["%s: '%s'" % (k,v) for k,v in resource.cdns.items()])
+            s += ', cdns={%s}' % ', '.join(
+                ["%s: '%s'" % (k,v) for k,v in resource.cdns.items()])
         if resource.modes:
             items = []
             for mode_name, mode in resource.modes.items():