+from __future__ import print_function
+
import os
from django.conf import settings
from django.utils.datastructures import SortedDict
'js' : ('.js',),
'css': ('.css',),
'img': ('.png', '.ico',),
+ 'fonts' : ('.svg', '.eot', '.ttf', '.woff'),
}
def find(self, search_path, all=False):
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