import error config and manifoldapi.manifoldresult
[myslice.git] / unfold / collectstatic.py
index 0c6a1d2..a3da52a 100644 (file)
@@ -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