Files
deb-python-django-pyscss/tests/utils.py
2014-02-01 21:43:42 -07:00

9 lines
217 B
Python

def clean_css(string):
# The output of the compiled CSS doesn't have a newline between the ; and
# the } for some reason.
return string.strip() \
.replace('\n', '') \
.replace('; ', ';')