fusionbox / django-pyscss

Makes it easier to use PyScss in Django
https://pypi.python.org/pypi/django-pyscss
BSD 2-Clause "Simplified" License
19 stars 13 forks source link

Put the original path at the end in get_possible_paths #13

Closed deshipu closed 10 years ago

deshipu commented 10 years ago

Make it try all the combinations of prefixes and suffixes first, and then try the original path. This way if there is a directory named the same as our file, but without the extension and/or prefix, we don't try to open it and avoid raising IOError.

Fixes #10.

coveralls commented 10 years ago

Coverage Status

Changes Unknown when pulling c517f87a2c536f6ebd3773b869430572ba3eb811 on deshipu:reorder-possible-paths into \ on fusionbox:test-for-path-conflicts**.

acatton commented 10 years ago

Thanks @deshipu, a new version of django-pyscss has been release with this fix. https://pypi.python.org/pypi/django-pyscss/1.0.2