X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=unfold%2Fcollectstatic.py;h=a3da52af3b87f15c4338c56434f63f8c03523dce;hb=89af8babd28a7da90ffe59be3ce7b7e812734cd0;hp=0c6a1d2c7d997fb08b0f5ebedb249ccaf36eb30e;hpb=5cc9843257edf8c959143880afb31360f1a62700;p=myslice.git diff --git a/unfold/collectstatic.py b/unfold/collectstatic.py index 0c6a1d2c..a3da52af 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 @@ -50,7 +52,7 @@ class ThirdPartyFinder(BaseFinder): # PREFIX : EXTENSIONS # third party stuff is not expected to provide templates, # '' : ('.html',), - 'js' : ('.js',), + 'js' : ('.js','.map',), 'css': ('.css',), 'img': ('.png', '.ico',), 'fonts' : ('.svg', '.eot', '.ttf', '.woff'), @@ -79,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