django-compressor/django-compressor — pull request #464 by Xaroth (2014-01-24 22:49:40+00:00)
Title: -Fix: compare against six.string_types.

six.text_type can throw errors if the result is an empty string in
python 2.7, where six.string_types will correctly detect it.

Mind, this should only occur when {% compress %} will yield no output (which is a rare case, but still).