X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=unfold%2Fcollectstatic.py;h=bee1fe440d8781fc31b9d9ebcacf78d2094a7fc3;hb=04a7f3d664ac02efe2d2999005d3d8c7c82e9b69;hp=b40afe4fbaedc53f2f710d93c8df18b6c1d2e6dd;hpb=9a62ec0dc3ee3e859f3563da29d9c838a658b140;p=myslice.git diff --git a/unfold/collectstatic.py b/unfold/collectstatic.py index b40afe4f..bee1fe44 100644 --- a/unfold/collectstatic.py +++ b/unfold/collectstatic.py @@ -1,3 +1,5 @@ +from __future__ import print_function + import os from django.conf import settings from django.utils.datastructures import SortedDict @@ -53,6 +55,7 @@ class ThirdPartyFinder(BaseFinder): 'js' : ('.js',), 'css': ('.css',), 'img': ('.png', '.ico',), + 'fonts' : ('.svg', '.eot', '.ttf', '.woff'), } def find(self, search_path, all=False): @@ -78,7 +81,7 @@ class ThirdPartyFinder(BaseFinder): matched_path = os.path.join(path, file) if not all: return matched_path - print 'ThirdPartyFinder, adding',matched_path + print('ThirdPartyFinder, adding',matched_path) matches.append(matched_path) return matches