Permalink
Browse files

Pep8 Fixes

  • Loading branch information...
1 parent 75e7a79 commit a2cd5d50ee858ad98552b0d89cff6997d2a675ee @saulshanabrook saulshanabrook committed Nov 4, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 compressor/contrib/sekizai.py
@@ -8,11 +8,11 @@
from compressor.templatetags.compress import CompressorNode
from django.template.base import Template
+
def compress(context, data, name):
"""
Data is the string from the template (the list of js files in this case)
Name is either 'js' or 'css' (the sekizai namespace)
-
- We basically just manually pass the string through the {% compress 'js' %} template tag
+ Basically passes the string through the {% compress 'js' %} template tag
"""
- return CompressorNode(nodelist=Template(data).nodelist, kind=name, mode='file').render(context=context)
+ return CompressorNode(nodelist=Template(data).nodelist, kind=name, mode='file').render(context=context)

0 comments on commit a2cd5d5

Please sign in to comment.